bugs

Forum > Bugs > Formatting Bug
Reply To Thread (login)
Roman [81]
2011-06-13 14:00:06
[12 years, 322 days ago]

When you press enter (for a new line) it doesn't make a new line?

nl2br or something like that needs to be used right Ender?

-Alan


 
Ender [57]
Administrator
2011-06-13 14:35:09
[12 years, 322 days ago]

This is actually intentional and an oft-debated "feature" of Markdown. You can get a line break by adding two spaces to the end of a line or just adding the <br /> tag yourself.

You can read a little about how Markdown handles paragraphs and line breaks here:

http://daringfireball.net/projects/markdown/basics

There's also some good discussion on the pros/cons of this issue here:

http://meta.stackoverflow.com/questions/26011/should-the-markdown-renderer-treat-a-single-line-break-as-br


 
Forum > Bugs > Formatting Bug
Reply To Thread (login)