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

Method clearHtml

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

Clear the output stream, as should be done after each page export. This is likely to be done by Page elements, starting to render a new page. The content of previous pages then should be cleared.

(self)

Source from the content-addressed store, hash-verified

619 return ''.join(self._htmlOut)
620
621 def clearHtml(self):
622 """Clear the output stream, as should be done after each page export.
623 This is likely to be done by Page elements, starting to render a new page.
624 The content of previous pages then should be cleared."""
625 self._htmlOut = []
626
627 def clearCss(self):
628 """We can safely clear the CSS, because the local CSS is not intended

Callers 2

__init__Method · 0.95
build_htmlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected