$ kramdown
`text`{: id="bar" style="foo"}
➔
<p><code id="bar" style="foo">text</code></p>
$ kramdown
`text`{: id="bar" style="foo“}
➔
<p><code id="bar">text</code></p>
because...
$ kramdown
`text`{: id="bar" style="foo}
➔
<p><code id="bar">text</code></p>
Of course the second and third examples are wrong, but I think silently ignoring the abrupt end of the IAL is wrong.
At least it confuses kramdown-rfc users, who are liable to get typographic quotes from copy/paste from documents.
Note that there is an error message in a simplified case:
$ kramdown
`text`{: style="foo}
➔
<p><code>text</code></p>
Warning: No or invalid attributes found in IAL/ALD content: style="foo
Of course the second and third examples are wrong, but I think silently ignoring the abrupt end of the IAL is wrong.
At least it confuses kramdown-rfc users, who are liable to get typographic quotes from copy/paste from documents.
Note that there is an error message in a simplified case: