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

Function unescape

markdown/extensions/toc.py:121–124  ·  view source on GitHub ↗

Unescape Markdown backslash escaped text.

(text: str)

Source from the content-addressed store, hash-verified

119
120
121def unescape(text: str) -> str:
122 """ Unescape Markdown backslash escaped text. """
123 c = UnescapeTreeprocessor()
124 return c.unescape(text)
125
126
127def strip_tags(text: str) -> str:

Callers 2

render_inner_htmlFunction · 0.85
runMethod · 0.85

Calls 2

unescapeMethod · 0.95

Tested by

no test coverage detected