You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary partition_html() adds an empty link_texts entry for an <a> element that has no text or whitespace-only text (and therefore is not displayed or clickable in a browser).
To Reproduce
html_text="<p>Time is an illusion. <a href="http://seo.com"></a>Lunchtime doubly so.</p>"elements=partition_html(text=html_text)
print(f"{elements_to_json(elements, indent=2)}")
Summary
partition_html()
adds an emptylink_texts
entry for an<a>
element that has no text or whitespace-only text (and therefore is not displayed or clickable in a browser).To Reproduce
Expected:
Actual:
Additional context
Fixed by #3218. Recorded here to explain ingest test output changes and to inform CHANGELOG.
The text was updated successfully, but these errors were encountered: