This commit is contained in:
Kovid Goyal 2024-09-20 11:26:33 +05:30
parent f8f3c8c685
commit 18501b9108
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -19,7 +19,7 @@ _encoding_pats = (
# HTML 4 Pragma directive
r'''<meta\s+?[^<>]*?content\s*=\s*['"][^'"]*?charset=([-_a-z0-9]+)[^'"]*?['"][^<>]*>(?:\s*</meta>){0,1}''',
)
substitute_entities = xml_replace_entities # for plugins that might use this
substitute_entities = substitute_entites = xml_replace_entities # for plugins that might use this
def compile_pats(binary):