Ryan Davis
4/9/2009 6:18:00 AM
On Apr 8, 2009, at 17:15 , matt neuburg wrote:
> BlueCloth.new("I'm testing ").to_html
> #=> =====
> <p>I'm testing<br/>
> </p>
>
> That <br/> is functionally significant (it causes extra vertical
> whitespace), and Perl Markdown does *not* generate it. BlueCloth is
> apparently treating the extra spaces at the end of the input string as
> somehow significant.
It may not, but according to the markdown spec it should:
"When you do want to insert a <br /> break tag using Markdown, you end
a line with two or more spaces, then type return."