MCPcopy Index your code
hub / github.com/Python-Markdown/markdown / to_xhtml_string

Function to_xhtml_string

markdown/serializers.py:192–194  ·  view source on GitHub ↗

Serialize element and its children to a string of XHTML.

(element: Element)

Source from the content-addressed store, hash-verified

190
191
192def to_xhtml_string(element: Element) -> str:
193 """ Serialize element and its children to a string of XHTML. """
194 return _write_html(ElementTree(element).getroot(), format="xhtml")

Callers

nothing calls this directly

Calls 1

_write_htmlFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…