From 35592f4a1c7d88d849c63a17c583a1a2b03e2106 Mon Sep 17 00:00:00 2001 From: Pranav Salunke Date: Wed, 6 Apr 2016 13:35:03 +0200 Subject: Minor change. Extra indent for character so it looks nicer. --- bs4/dammit.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bs4/dammit.py b/bs4/dammit.py index 636f81b..030f04a 100644 --- a/bs4/dammit.py +++ b/bs4/dammit.py @@ -309,7 +309,7 @@ class EncodingDetector: else: xml_endpos = 1024 html_endpos = max(2048, int(len(markup) * 0.05)) - + declared_encoding = None declared_encoding_match = xml_encoding_re.search(markup, endpos=xml_endpos) if not declared_encoding_match and is_html: @@ -734,7 +734,7 @@ class UnicodeDammit: 0xde : b'\xc3\x9e', # Þ 0xdf : b'\xc3\x9f', # ß 0xe0 : b'\xc3\xa0', # à - 0xe1 : b'\xa1', # á + 0xe1 : b'\xa1', # á 0xe2 : b'\xc3\xa2', # â 0xe3 : b'\xc3\xa3', # ã 0xe4 : b'\xc3\xa4', # ä -- cgit v1.2.1