[quote] loses backslashes on this super edge case

This first post is only to setup the reproduction of the bug in the second post that will follow:

When you use <code>\``` you can output the three ticks required to do a code fence.

And now the backslashes used in my original post are gone.

I’m pretty sure this is because quote don’t escape the chars inside it.

if it’s gonna be a #pr-welcome I’ll work on this as I’m also trying to work on another request regarding quote.


Now renders, correctly as <code>\``` , it is subtle but see: http://johnmacfarlane.net/babelmark2/?text=`<code>\`\`\`<%2Fcode>`

To escape you would


Which renders correctly as: <code>\`\`\`<\code>

And is quotable via:




> ``<code>\`\`\`<\code>``