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:
@@ -5,7 +5,7 @@ import six
|
||||
|
||||
convert_heading_re = re.compile(r'convert_h(\d+)')
|
||||
line_beginning_re = re.compile(r'^', re.MULTILINE)
|
||||
whitespace_re = re.compile(r'[\r\n\s\t ]+')
|
||||
whitespace_re = re.compile(r'[\t ]+')
|
||||
html_heading_re = re.compile(r'h[1-6]')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user