MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / reset

Method reset

markdown/util.py:247–250  ·  view source on GitHub ↗

Clear the stash.

(self)

Source from the content-addressed store, hash-verified

245 return placeholder
246
247 def reset(self) -> None:
248 """ Clear the stash. """
249 self.html_counter = 0
250 self.rawHtmlBlocks = []
251
252 def get_placeholder(self, key: int) -> str:
253 return HTML_PLACEHOLDER % key

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected