Skip to content

Commit f7b4535

Browse files
Merge pull request #551 from Crozzers/normalise-eol-in-test-harness
Always normalise EOLs in test harness
2 parents 37ed941 + 68be7da commit f7b4535

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_markdown2.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,7 @@ def norm_html_from_html(html):
345345
html = html.decode('utf-8')
346346
html = _markdown_email_link_re.sub(
347347
_markdown_email_link_sub, html)
348-
if sys.platform == "win32":
349-
html = html.replace('\r\n', '\n')
348+
html = html.replace('\r\n', '\n')
350349
return html
351350

352351

0 commit comments

Comments
 (0)