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

Method __init__

markdown/util.py:222–227  ·  view source on GitHub ↗

Create an `HtmlStash`.

(self)

Source from the content-addressed store, hash-verified

220 """
221
222 def __init__(self):
223 """ Create an `HtmlStash`. """
224 self.html_counter = 0 # for counting inline html segments
225 self.rawHtmlBlocks: list[str | etree.Element] = []
226 self.tag_counter = 0
227 self.tag_data: list[TagData] = [] # list of dictionaries in the order tags appear
228
229 def store(self, html: str | etree.Element) -> str:
230 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected