diff --git a/.pytest.expect b/.pytest.expect index 5f3b6194..e818b516 100644 Binary files a/.pytest.expect and b/.pytest.expect differ diff --git a/html5lib/inputstream.py b/html5lib/inputstream.py index 20f6c95a..5694efe3 100644 --- a/html5lib/inputstream.py +++ b/html5lib/inputstream.py @@ -185,14 +185,10 @@ def __init__(self, source): # Such platforms will have already checked for such # surrogate errors, so no need to do this checking. self.reportCharacterErrors = None - self.replaceCharactersRegexp = None elif len("\U0010FFFF") == 1: self.reportCharacterErrors = self.characterErrorsUCS4 - self.replaceCharactersRegexp = re.compile(eval('"[\\uD800-\\uDFFF]"')) else: self.reportCharacterErrors = self.characterErrorsUCS2 - self.replaceCharactersRegexp = re.compile( - eval('"([\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(? pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy