docsify
docsify copied to clipboard
Single backslash `\` not escape text as excepted
Bug Report
Steps to reproduce
Write:
\``CODE`
`\`CODE`
`CODE\``
`CODE`\`
\``CODE`\`
\``CODE``\
\````
```
<!-- COMMENT -->
What is current behaviour
Not rendered correctly

What is the expected behaviour
comment should not be rendered as comment block
Other relevant information
-
[x] Bug does still occur when all/other plugins are disabled?
-
Your OS: Windows
-
Node.js version: 16.17.0
-
npm/yarn version: 8.19.2
-
Browser version: latest
-
Docsify version: latest(from cdn)
-
Docsify plugins: mathjax
Please create a reproducible sandbox
This repo might have leaning toothpick syndrome now QAQ
I paste those content below, it seem the general md render result tho.
``CODE`
\CODE`
`CODE``
CODE`
``CODE\
``CODE``\
````
<!-- COMMENT -->
I guess the issue place is the ```` above to the comment content, and the parser treats it is an half quote code content.