remove superfluous leading/trailing whitespace (#181)
This commit is contained in:
committed by
GitHub
parent
dbb5988802
commit
ae0597d80c
9
tests/utils.py
Normal file
9
tests/utils.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from markdownify import MarkdownConverter
|
||||
|
||||
|
||||
# for unit testing, disable document-level stripping by default so that
|
||||
# separation newlines are included in testing
|
||||
def md(html, **options):
|
||||
options = {"strip_document": None, **options}
|
||||
|
||||
return MarkdownConverter(**options).convert(html)
|
||||
Reference in New Issue
Block a user