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

Method handle_entityref

markdown/htmlparser.py:294–295  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

292 self.handle_empty_tag('&#{};'.format(name), is_block=False)
293
294 def handle_entityref(self, name: str):
295 self.handle_empty_tag('&{};'.format(name), is_block=False)
296
297 def handle_comment(self, data: str):
298 # Check if the comment is unclosed, if so, we need to override position

Callers

nothing calls this directly

Calls 1

handle_empty_tagMethod · 0.95

Tested by

no test coverage detected