russross / blackfriday

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

Two spaces at end of line doesn't work as expected. #562

Open zaddok opened 5 years ago

zaddok commented 5 years ago

I expected that two spaces at the end of a line indicates that a line break should be inserted, but at the moment this is not the case.

Gruber explicitly writes https://daringfireball.net/projects/markdown/syntax#p

When you do want to insert a \<br \/> break tag using Markdown, you end a line with two or more spaces, then type return.

zaddok commented 5 years ago

It might be that " \r\n" is not triggering a new line, but " \n" is not.