(markdown: str, html: str)
| 1150 | |
| 1151 | |
| 1152 | def _audit_scan_roff_named(markdown: str, html: str) -> list[tuple[int, str]]: |
| 1153 | text = _audit_strip_tags(html) |
| 1154 | return [ |
| 1155 | (match.start(), match.group(0)) |
| 1156 | for match in _AUDIT_ROFF_NAMED_ESCAPE_RE.finditer(text) |
| 1157 | if _audit_is_known_escape_name(match.group(1)) |
| 1158 | ] |
| 1159 | |
| 1160 | |
| 1161 | def _audit_scan_roff_two_letter(markdown: str, html: str) -> list[tuple[int, str]]: |
nothing calls this directly
no test coverage detected