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

Method handle_pi

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

Source from the content-addressed store, hash-verified

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)
346
347 def unknown_decl(self, data: str):
348 end = ']]>' if data.startswith('CDATA[') else ']>'

Callers

nothing calls this directly

Calls 1

handle_empty_tagMethod · 0.95

Tested by

no test coverage detected