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

Method reset

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

Clear the stash.

(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected