Discount (GFM) processor converts line breaks into `<br />` if input is LF, does not if input is CRLF
Discount (GFM) processor converts line breaks into <br />
if input is has LF linebreaks (as expected), but does not if input has CRLF linebreaks.
Easy to work around, but very surprising and annoying. :)
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 13 Jun, 2025 07:57 PM
Is this the result of the "Retain Line Breaks in Paragraphs" option, or is it specific to Discount? If it's the latter, I can fix the regex, but I'm not going to make any changes to the Discount processor itself.