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

Method __init__

markdown/util.py:219–224  ·  view source on GitHub ↗

Create an `HtmlStash`.

(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected