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

Class AndSubstitutePostprocessor

markdown/postprocessors.py:110–115  ·  view source on GitHub ↗

Restore valid entities

Source from the content-addressed store, hash-verified

108
109
110class AndSubstitutePostprocessor(Postprocessor):
111 """ Restore valid entities """
112
113 def run(self, text: str) -> str:
114 text = text.replace(util.AMP_SUBSTITUTE, "&")
115 return text
116
117
118@util.deprecated(

Callers 1

build_postprocessorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…