Serialize element and its children to a string of HTML5.
(element: Element)
| 185 | |
| 186 | |
| 187 | def to_html_string(element: Element) -> str: |
| 188 | """ Serialize element and its children to a string of HTML5. """ |
| 189 | return _write_html(ElementTree(element).getroot(), format="html") |
| 190 | |
| 191 | |
| 192 | def to_xhtml_string(element: Element) -> str: |
nothing calls this directly
no test coverage detected
searching dependent graphs…