+
+ What is unstructured?
+ A library for document processing.
+
+
+ How do I install it?
+ Use pip install unstructured.
+
+
+ """
+
+ elements = partition_html(text=html_text)
+
+ texts = [e.text for e in elements]
+ assert "What is unstructured?" in texts
+ assert "A library for document processing." in texts
+ assert "How do I install it?" in texts
+ assert "Use pip install unstructured." in texts
+
+
+def test_partition_html_extracts_nested_details():
+ """Nested