(element, encoding=None)
| 265 | return qnames, namespaces |
| 266 | |
| 267 | def 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) |
nothing calls this directly
no test coverage detected