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:
@@ -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 '
|
||||
|
||||
Reference in New Issue
Block a user