[kramdown-users] Line breaks
Thomas Leitner
t_leitner at gmx.at
Fri Aug 6 15:03:59 EDT 2010
On 2010-08-06 12:13 +0200 Michael Franzl wrote:
> Kramdown source
>
> \\
> \\
> \\
>
> renders the HTML
>
> <p><br />
> <br />
> \</p>
>
> I am not sure if this is the right way to generate line breaks, but
> at least there is one <br> missing and one backslash too much.
This is actually the correct behavior: a line break on the last line
of a paragraph is not allowed, therefore the characters `\\` are
interpreted as an escaped backslash.
-- Thomas
More information about the kramdown-users
mailing list