MCPcopy Create free account
hub / github.com/openai/plugins / _escape_markdown_text

Function _escape_markdown_text

plugins/codex-security/scripts/report_projection.py:56–57  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

54
55
56def _escape_markdown_text(value: str) -> str:
57 return re.sub(r"([\\`*\[\]<>])", r"\\\1", value)
58
59
60def _strings(value: Any) -> list[str]:

Callers 1

_textFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected