Closed gstalnaker closed 8 years ago
Pull request #32 should fix this.
Thank you.
On 7/10/2015 9:23 AM, codeman38 wrote:
Pull request #32 https://github.com/tbfisher/sublimetext-Pandoc/pull/32 should fix this.
— Reply to this email directly or view it on GitHub https://github.com/tbfisher/sublimetext-Pandoc/issues/24#issuecomment-120421390.
Guy Stalnaker, PaCS@DOIT, ECM/Imaging Service Lead 115 N. Orchard Street, Room 305 RS, Madison WI 53715 guy.stalnaker@wisc.edu, work 608.263.8035
Though the [CR] are annoying, the line spacing initially looks fine. Those [CR] are interpreted by SublimeText such that if I, say, run HTMLBeautify (which I want to do), I get a blank line following every [CR] in the reformatted text. If I use HTMLPrint the resulting HTML file displayed in a browser also has blank lines inserted. If, say, I use a modified Pandoc entry in your package to create a plaintext output file, I can copy the pandoc output from your package into a new window and the pasted text has extra lines. I've added some screen shots to show what I mean.
I cannot figure out what's going on. I chose your package for its ease of configuring. Pandown, using the same pandoc.exe binary, does not put the [CR] line endings, so it's something your package is doing.
Changing line endings using the Sublime-text menu from Windows to Unix and back changes nothing. If I save/name the output document, close it, then reopen it, the [CR] are gone. So it appears to be something in the buffered output that's removed when the file is saved by ST3. Very odd.