MCPcopy Create free account
hub / github.com/idank/explainshell / _audit_scan_visible_nbsp

Function _audit_scan_visible_nbsp

tests/evals/render/render_eval.py:1186–1191  ·  view source on GitHub ↗
(markdown: str, html: str)

Source from the content-addressed store, hash-verified

1184
1185
1186def _audit_scan_visible_nbsp(markdown: str, html: str) -> list[tuple[int, str]]:
1187 text = _audit_strip_tags(html)
1188 return [
1189 (match.start(), match.group(0))
1190 for match in _AUDIT_VISIBLE_NBSP_RE.finditer(text)
1191 ]
1192
1193
1194def _audit_scan_visible_double_amp(markdown: str, html: str) -> list[tuple[int, str]]:

Callers

nothing calls this directly

Calls 1

_audit_strip_tagsFunction · 0.85

Tested by

no test coverage detected