MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / to_html_string

Function to_html_string

markdown/html4.py:267–274  ·  view source on GitHub ↗
(element, encoding=None)

Source from the content-addressed store, hash-verified

265 return qnames, namespaces
266
267def to_html_string(element, encoding=None):
268 class dummy:
269 pass
270 data = []
271 file = dummy()
272 file.write = data.append
273 write_html(ElementTree(element).getroot(),file,encoding)
274 return "".join(data)

Callers

nothing calls this directly

Calls 2

dummyClass · 0.85
write_htmlFunction · 0.85

Tested by

no test coverage detected