Summary
A <div> element having both text and a child phrasing element causes a new element to be started at the location of the child phrasing element.
To Reproduce
from unstructured.partition.html import partition_html
from unstructured.staging.base import elements_to_json
html_text = "<div>foo <b>bar</b></div>"
elements = partition_html(text=html_text)
print(f"{elements_to_json(elements, indent=2)}")
Summary A
<div>
element having both text and a child phrasing element causes a new element to be started at the location of the child phrasing element.To Reproduce
Expected
Actual
Additional context Fixed by #3218. Recorded here to explain ingest test output changes and to inform CHANGELOG.