MCPcopy Create free account
hub / github.com/PageBot/PageBot / getHtml

Method getHtml

Lib/pagebot/contexts/htmlcontext/htmlbuilder.py:617–619  ·  view source on GitHub ↗

Answers the accumulated HTML as single string.

(self)

Source from the content-addressed store, hash-verified

615 print('### Cannot write HTML file "%s"' % path)
616
617 def getHtml(self):
618 """Answers the accumulated HTML as single string."""
619 return ''.join(self._htmlOut)
620
621 def clearHtml(self):
622 """Clear the output stream, as should be done after each page export.

Callers 1

writeHtmlMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected