russross / blackfriday

Blackfriday: a markdown processor for Go
Other
5.42k stars 598 forks source link

v2 difference to v1 in list parsing #575

Open jum opened 4 years ago

jum commented 4 years ago

I did upgrade from v1 to v2 recently and I am noticing that my lists do not render properly. Upon investigating I see that I am having "\r\n" in my database as line endings. With v1 this does render fine, but v2 does not parse the lists. Is that an oversight or are only unix line endings support in v2?

gawth commented 4 years ago

I second this issue. I am taking text from a textarea and as per standard browser behaviour it uses CR and LF. If I pass this through blackfriday it fails to render lists (unordered or ordered). All other elements seem to be ok and if I edit the file and convert to use \n then it renders fine.