dont replace newlines and tabs with spaces

this should fix #17, as all leading new lines
were replaced with a single space, which in turn
was rendered before the # of a headline
This commit is contained in:
AlexVonB
2020-12-29 10:28:50 +01:00
parent 3544322ed2
commit 4f8937810b
3 changed files with 6 additions and 2 deletions

View File

@@ -10,4 +10,4 @@ def test_soup():
def test_whitespace():
assert md(' a b \n\n c ') == ' a b c '
assert md(' a b \t\t c ') == ' a b c '