MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / replacer_func

Function replacer_func

markdown_it/common/utils.py:118–123  ·  view source on GitHub ↗
(match: Match[str])

Source from the content-addressed store, hash-verified

116
117def unescapeAll(string: str) -> str:
118 def replacer_func(match: Match[str]) -> str:
119 escaped = match.group(1)
120 if escaped:
121 return escaped
122 entity = match.group(2)
123 return replaceEntityPattern(match.group(), entity)
124
125 if "\\" not in string and "&" not in string:
126 return string

Callers

nothing calls this directly

Calls 1

replaceEntityPatternFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…