preservim / vim-markdown

Markdown Vim Mode
4.69k stars 523 forks source link

Backslash inside inline code breaks highlighting #203

Open coffeejunk opened 9 years ago

coffeejunk commented 9 years ago

A backslash in front of a (single) closing tick of inline code breaks the highlighting for the rest of the file.

`\`   => breaks
` \`  => breaks
` \ ` => ok
`\ `  => ok

``\``  => ok
`` \`` => ok
``\ `` => ok

`` `\` ``   => ok
`` ` \` ``  => ok
`` `\ ` ``  => ok
`` ` \ ` `` => ok
cirosantilli commented 9 years ago

Confirmed as per; http://spec.commonmark.org/0.18/#example-259