[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.

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

Now renders, correctly as <code>\``` , it is subtle but see: Babelmark 2 - Compare markdown implementations

To escape you would

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

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

And is quotable via:

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

Or

Markup:


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

Or 

[quote]
 ``<code>\`\`\`<\code>`` 
[/quote]
5 Likes