Defect #22323

Markdown newline rendering broken

Added by Viktor Berke about 3 years ago. Updated about 1 month ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Text formatting
Target version:-
Resolution: Affected version:3.2.1


As per the specs Markdown should not insert <br /> for single line breaks. <br /> should only occur for:

- A line ending with 2 or more spaces, then a line break.
- One or more blank lines between paragraphs lines. In other words, 2 or more line breaks.

GitHub is consistent with this in wiki formatting. In GitHub issues a single line break also triggers a rendered line break, the reason for this is beyond me but that's also against the specs.

Please fix this. This actually breaks Pandoc conversion from Textile pages because Pandoc occasionally inserts line breaks even within paragraphs and this causes line breaks in the rendered text as well thus breaking the format.

Related issues

Related to Redmine - Feature #22005: Rake task for converting from Textile to Markdown New


#1 Updated by Viktor Berke about 3 years ago

Since I can't add related issues, I'll just link it: Rake task for converting from Textile to Markdown

#2 Updated by Go MAEDA about 3 years ago

  • Category changed from Wiki to Text formatting

#3 Updated by Toshi MARUYAMA about 3 years ago

  • Related to Feature #22005: Rake task for converting from Textile to Markdown added

#4 Updated by Pablo Yanez Trujillo about 1 month ago

I'd like to know whether this has been fixed in the current 4.x releases. I still have an 3.3.7 installation and this is annoying, specially since I use text-aid-too ( to edit content with vim and I have line wrapping at 80 characters. When editing on github, or stackooverflow then there is no problem. But on my redmine pages, it's a problem, because redmine inserts <br /> where it shouldn't.

Also available in: Atom PDF