aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy
diff options
context:
space:
mode:
authorThomas Kriechbaumer <Kriechi@users.noreply.github.com>2018-07-22 21:05:07 +0200
committerGitHub <noreply@github.com>2018-07-22 21:05:07 +0200
commit8ce963ad4c5a600c220c96957bd2a4bc886b1515 (patch)
tree37c5ecc3d61252be69b1f32aa6a4649fd1b97c2c /mitmproxy
parentec092fdc120273644c79ae65ae0328dc9f31ee80 (diff)
parent50e3bab3c559615fb1a01c2292b65b0902ff851f (diff)
downloadmitmproxy-8ce963ad4c5a600c220c96957bd2a4bc886b1515.tar.gz
mitmproxy-8ce963ad4c5a600c220c96957bd2a4bc886b1515.tar.bz2
mitmproxy-8ce963ad4c5a600c220c96957bd2a4bc886b1515.zip
Merge pull request #3258 from Kriechi/fix-whitespace
fix whitespace
Diffstat (limited to 'mitmproxy')
-rw-r--r--mitmproxy/contentviews/xml_html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/contentviews/xml_html.py b/mitmproxy/contentviews/xml_html.py
index 22c402e6..658fbcd7 100644
--- a/mitmproxy/contentviews/xml_html.py
+++ b/mitmproxy/contentviews/xml_html.py
@@ -138,7 +138,7 @@ def is_inline(prev2: Token, prev1: Token, t: Token, next1: Token, next2: Token)
if is_inline_text(prev2, prev1, t) or is_inline_text(t, next1, next2):
return True
if isinstance(next1, Tag) and t.is_opening and next1.is_closing and t.tag == next1.tag:
- return True # <div></div> (start tag)
+ return True # <div></div> (start tag)
if isinstance(prev1, Tag) and prev1.is_opening and t.is_closing and prev1.tag == t.tag:
return True # <div></div> (end tag)
return False