(html)
| 801 | def strip_comments(html): |
| 802 | return strip_between("<!--", "-->", html) |
| 803 | def strip_forms(html): |
| 804 | return strip_between("<form.*?>", "</form>", html) |
| 805 | |
| 806 | RE_AMPERSAND = re.compile("\&(?!\#)") # & not followed by # |
| 807 | RE_UNICODE = re.compile(r'&(#?)(x|X?)(\w+);') # É |
no test coverage detected
searching dependent graphs…