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

Method handle_decl

markdown/htmlparser.py:341–342  ·  view source on GitHub ↗
(self, data: str)

Source from the content-addressed store, hash-verified

339 self.handle_empty_tag(text, is_block=is_block)
340
341 def handle_decl(self, data: str):
342 self.handle_empty_tag('<!{}>'.format(data), is_block=True)
343
344 def handle_pi(self, data: str):
345 self.handle_empty_tag('<?{}?>'.format(data), is_block=True)

Callers

nothing calls this directly

Calls 1

handle_empty_tagMethod · 0.95

Tested by

no test coverage detected