Closed ISSOtm closed 3 years ago
Thanks for reporting! This must have been an oversight. It now escapes all closing square brackets it sees even if these weren't escaped before, but that shouldn't be a problem.
A patch release was created, too: 6.0.1 .
Thank you! That was fast ^^
tl;dr:
[\[1\]](...)
, after serialization (pulldown_cmark
) and deserialization (pulldown_cmark_to_cmark
), became[\[1]](...)
.The following test program demonstrates the bug:
(This Event stream was generated by a
pulldown_cmark
parser; I have a full trace provided byinspect
, if you want. The twoEvent::Text
s are genuine.)I'm not sure why, but the opening brace gets escaped, but not the closing one; this causes gbdev/pandocs#301.