Hi Thomas,
What is the expected behavior of Kramdown when an HTML span is split
over multiple lines within a quoted attribute string? For instance, say
that an editor has performed line-wrapping on some Markdown input with
embedded HTML so that the input to Kramdown is as follows. (I replaced
the HTML angle delimiters with { and } to pacify broken email clients.)
Link: {a href="/" title="Foo
Bar"}Foo Bar{/a}
When fed through Kramdown, this produces the startling:
{p}Link: &lt;a href=&quot;/&quot; title=&quot;Foo
Bar&quot;&gt;Foo Bar&lt;/a&gt;{/p}
Rather than the expected:
{p}Link: {a href="/" title="Foo Bar"}Foo Bar{/a}{/p}
Or perhaps, though unlikely:
{p}Link: {a href="/" title="Foo
Bar"}Foo Bar{/a}{/p}
The documentation at
http://kramdown.rubyforge.org/syntax.html#html-spans does not seem to
cover this case.
-- ES