This simplest solution doesn't drop HTML from metadata when merging Elements from HTML input. We still need to address how to handle nested elements, and if we want to have LayoutElements in the metadata of Composite Elements, a unit test showing the current behavior.
Note: metadata still contains orig_elements which has all the metadata.
This simplest solution doesn't drop HTML from metadata when merging Elements from HTML input. We still need to address how to handle nested elements, and if we want to have
LayoutElements
in the metadata of Composite Elements, a unit test showing the current behavior. Note: metadata still containsorig_elements
which has all the metadata.