diff options
author | Pranav Salunke <dguitarbite@gmail.com> | 2016-04-06 13:35:03 +0200 |
---|---|---|
committer | Pranav Salunke <dguitarbite@gmail.com> | 2016-04-06 13:35:03 +0200 |
commit | c57626bfad289ea1773d3313011ac3b59cfb3cdf (patch) | |
tree | 9df0af34a4a4dbf5e59c0b83b550a6725aadfcbd /bs4/dammit.py | |
parent | 39aa1d181f9d097dc184c32551a9d0478d5b3149 (diff) |
Minor change. Extra indent for character so it looks nicer.
Diffstat (limited to 'bs4/dammit.py')
-rw-r--r-- | bs4/dammit.py | 4 |
1 files 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', # ä |