MCPcopy Index your code
hub / github.com/Python-Markdown/markdown / handle_data

Method handle_data

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

Source from the content-addressed store, hash-verified

255 self.cleandoc.append(text)
256
257 def handle_data(self, data: str):
258 if self.intail and '\n' in data:
259 self.intail = False
260 if self.inraw:
261 self._cache.append(data)
262 else:
263 self.cleandoc.append(data)
264
265 def handle_empty_tag(self, data: str, is_block: bool):
266 """ Handle empty tags (`<data>`). """

Callers 7

closeMethod · 0.95
parse_piMethod · 0.95
parse_commentMethod · 0.95
parse_starttagMethod · 0.95
parse_endtagMethod · 0.45
parse_starttagMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected