From 50e3bab3c559615fb1a01c2292b65b0902ff851f Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sun, 22 Jul 2018 20:35:40 +0200 Subject: [PATCH] fix whitespace --- mitmproxy/contentviews/xml_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/contentviews/xml_html.py b/mitmproxy/contentviews/xml_html.py index 22c402e66..658fbcd7b 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 #
(start tag) + return True #
(start tag) if isinstance(prev1, Tag) and prev1.is_opening and t.is_closing and prev1.tag == t.tag: return True #
(end tag) return False