Skip to content

Commit

Permalink
Always normalise EOLs in test harness
Browse files Browse the repository at this point in the history
  • Loading branch information
Crozzers committed Dec 10, 2023
1 parent 9178066 commit 68be7da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_markdown2.py
Original file line number Diff line number Diff line change
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 68be7da

Please sign in to comment.