mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
fix whitespace
This commit is contained in:
parent
7f464b8929
commit
50e3bab3c5
@ -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):
|
if is_inline_text(prev2, prev1, t) or is_inline_text(t, next1, next2):
|
||||||
return True
|
return True
|
||||||
if isinstance(next1, Tag) and t.is_opening and next1.is_closing and t.tag == next1.tag:
|
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:
|
if isinstance(prev1, Tag) and prev1.is_opening and t.is_closing and prev1.tag == t.tag:
|
||||||
return True # <div></div> (end tag)
|
return True # <div></div> (end tag)
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user