jgm / djot.js

JavaScript implementation of djot
MIT License
141 stars 15 forks source link

Attributes cannot contain consecutive backslashes #49

Closed hellux closed 1 year ago

hellux commented 1 year ago
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>