Paragraphs and Line Breaks

Lou Quillio public at quillio.com
Mon Jul 4 15:09:56 EDT 2005


A. Pagaltzis wrote:

> What annoys me is that Markdown only discards one of those two

> spaces, so ` \n` actually translates to ` <br />\n` instead of

> just `<br />\n`.


I suppose that's for the benefit of folks who'll be copy-pasting the
output to another form that doesn't preserve the linefeed. Without
preserving a space, the last word of one line and first of the next
would run together on re-wrap.

That would create more problems for more people than the alternative
of stripping both spaces. In _most_ cases, the preserved space is
real and needed as a word delimiter.

LQ


More information about the Markdown-Discuss mailing list