jgm/djot.js

Attributes cannot contain consecutive backslashes

hellux opened this issue · 0 comments

hellux commented
a{a="\\\\\\"}

yields

<p><span a="\">a</span></p>

instead of

<p><span a="\\\">a</span></p>

Inline text may contain consecutive backslashes as expected, though:

\\\\\\
<p>\\\</p>