Skip to content

Commit

Permalink
Merge pull request #551 from Crozzers/normalise-eol-in-test-harness
Browse files Browse the repository at this point in the history
Always normalise EOLs in test harness
  • Loading branch information
nicholasserra committed Dec 10, 2023
2 parents 37ed941 + 68be7da commit f7b4535
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_markdown2.py
Expand Up @@ -345,8 +345,7 @@ def norm_html_from_html(html):
html = html.decode('utf-8')
html = _markdown_email_link_re.sub(
_markdown_email_link_sub, html)
if sys.platform == "win32":
html = html.replace('\r\n', '\n')
html = html.replace('\r\n', '\n')
return html


Expand Down

0 comments on commit f7b4535

Please sign in to comment.