summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranav Salunke <dguitarbite@gmail.com>2016-04-06 13:35:03 +0200
committerPranav Salunke <dguitarbite@gmail.com>2016-04-06 13:35:03 +0200
commit35592f4a1c7d88d849c63a17c583a1a2b03e2106 (patch)
tree3d72fd56b86335728848f13d5346ed5c4d55cb13
parent218fb845adb7bbc1ad079d7668255ded890b63c4 (diff)
downloadbeautifulsoup4-35592f4a1c7d88d849c63a17c583a1a2b03e2106.tar.gz
Minor change. Extra indent for character so it looks nicer.
-rw-r--r--bs4/dammit.py4
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', # ä