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

Method handle_pi

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

Source from the content-addressed store, hash-verified

302 self.handle_empty_tag('<!{}>'.format(data), is_block=True)
303
304 def handle_pi(self, data: str):
305 self.handle_empty_tag('<?{}?>'.format(data), is_block=True)
306
307 def unknown_decl(self, data: str):
308 end = ']]>' if data.startswith('CDATA[') else ']>'

Callers

nothing calls this directly

Calls 1

handle_empty_tagMethod · 0.95

Tested by

no test coverage detected