Create an `HtmlStash`.
(self)
| 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 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected