MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / strip_html_comments

Function strip_html_comments

tools/commitlist.py:124–125  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

122
123
124def strip_html_comments(text: str) -> str:
125 return HTML_COMMENT_RE.sub("", text or "")
126
127
128def cleanup_markdown_text(text: str) -> str:

Callers 2

cleanup_markdown_textFunction · 0.85
markdown_sectionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected