Brickster / pretty-markdown

Sublime Text plugin for beatifying a markdown file when saving.
MIT License
0 stars 0 forks source link

When trimming non-breaking whitespace an EOF newline is removed #1

Closed Brickster closed 10 years ago

Brickster commented 10 years ago

For reasons I'm not 100% sure about, String.splitlines() won't keep trailing blank lines so String.split('\n') needs to be used.