Closed gzzo closed 3 years ago
Fixes #88
We could also use _INVALID_HTML_TAG_RE = re.compile(r'<(?!/?[a-z0-9]+(?: .*|/?)>)(?:.|\n)*?>', re.IGNORECASE | re.ASCII) instead of adding A-Z in the pattern, let me know what you prefer.
_INVALID_HTML_TAG_RE = re.compile(r'<(?!/?[a-z0-9]+(?: .*|/?)>)(?:.|\n)*?>', re.IGNORECASE | re.ASCII)
A-Z
Fixes #88
We could also use
_INVALID_HTML_TAG_RE = re.compile(r'<(?!/?[a-z0-9]+(?: .*|/?)>)(?:.|\n)*?>', re.IGNORECASE | re.ASCII)
instead of addingA-Z
in the pattern, let me know what you prefer.