View Single Post
Old 09-30-2020, 06:06 AM   #1514
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,863
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by chaley View Post
The behavior difference that @Rev. Bob pointed out is almost certainly benign. but it does bother me a bit. And it turns out not to be necessary. I decided to use the python version to condition the magic of how EOL is treated. The attached version preserves EOLs.

It should be noted that the plugin explicitly changes CRLF to LF in a ton of places depending on options. Because of this, one cannot depend on preserving CRLF. They are preserved if only "Update Metadata" is checked, so basic file IO works.

The change has no impact on the plugin running on 4.23.

I am tempted to release this version but that would be tempting fate. I will do so later today (around 9 AM GMT) unless 'bad things happen'.
Don't you mean 9pm GMT as you've already posted this past 9am GMT.
JSWolf is offline   Reply With Quote