make conversion non-destructive to soup; improve div/article/section handling (#184)
Signed-off-by: chrispy <chrispy@synopsys.com>
This commit is contained in:
committed by
GitHub
parent
c52a50e66a
commit
3026602686
@@ -6,7 +6,7 @@ def test_single_tag():
|
||||
|
||||
|
||||
def test_soup():
|
||||
assert md('<div><span>Hello</div></span>') == 'Hello'
|
||||
assert md('<div><span>Hello</div></span>') == '\n\nHello\n\n'
|
||||
|
||||
|
||||
def test_whitespace():
|
||||
|
||||
Reference in New Issue
Block a user