Lukasa / language-restructuredtext

A ReStructuredText syntax package for Atom
MIT License
27 stars 15 forks source link

Escaping mechanism does not work for *, **, | #36

Closed wismill closed 8 years ago

wismill commented 8 years ago

Hi, according to the escaping mechanism of reStructuredText, the following text should not be highlighted:

These \*symbols\* should be escaped.
These \*\*too\*\*.
What about \|these\|?
Lukasa commented 8 years ago

Yup, you're absolutely right.

A quick sample paragraph suggests the main problem is with * and |. Most of the other regexes fail to match if backslashes are present.

Lukasa commented 8 years ago

Resolved in v0.13.

Lukasa commented 8 years ago

Thanks for the report! :sparkles: :cake: :sparkles:

wismill commented 8 years ago

That was fast! Thanks