Test newline_style
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
from markdownify import markdownify as md, ATX, ATX_CLOSED
|
from markdownify import markdownify as md, ATX, ATX_CLOSED, BACKSLASH
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
|
||||||
@@ -86,6 +86,7 @@ def test_nested_blockquote():
|
|||||||
|
|
||||||
def test_br():
|
def test_br():
|
||||||
assert md('a<br />b<br />c') == 'a \nb \nc'
|
assert md('a<br />b<br />c') == 'a \nb \nc'
|
||||||
|
assert md('a<br />b<br />c', newline_style=BACKSLASH) == 'a\\\nb\\\nc'
|
||||||
|
|
||||||
|
|
||||||
def test_em():
|
def test_em():
|
||||||
|
|||||||
Reference in New Issue
Block a user