MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / _strip_html

Function _strip_html

deployments/feishu/daily-push-agent/main.py:116–117  ·  view source on GitHub ↗
(text: Any)

Source from the content-addressed store, hash-verified

114def _strip_html(text: Any) -> str:
115 return re.sub(r"<[^>]+>", " ", str(text or "")).replace("&nbsp;", " ").strip()
116
117
118def _parse_feed_date(value: Any) -> str:
119 text = str(value or "").strip()
120 if not text:

Callers 1

fetch_one_feedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected