Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
124
def
strip_html_comments(text: str) -> str:
125
return
HTML_COMMENT_RE.sub(
""
, text or
""
)
126
127
128
def
cleanup_markdown_text(text: str) -> str:
Callers
2
cleanup_markdown_text
Function · 0.85
markdown_sections
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected