Skip to content

Commit

Permalink
Merge pull request #274 from jacebrowning/bugifx/bottle_line_endings
Browse files Browse the repository at this point in the history
Remove '/r/n' from published html on windows
  • Loading branch information
jacebrowning committed May 15, 2017
2 parents 26c92a1 + a4b31dc commit 4c3cbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doorstop/core/publisher.py
Expand Up @@ -510,7 +510,7 @@ def _lines_html(obj, linkify=False, extensions=EXTENSIONS,
except Exception:
log.error("Problem parsing the template %s", template)
raise
yield html
yield '\n'.join(html.split(os.linesep))
else:
yield body

Expand Down

0 comments on commit 4c3cbb9

Please sign in to comment.