atom / language-gfm

GitHub Flavored Markdown in Atom
MIT License
101 stars 108 forks source link

Bad syntax highlighting when character in word is wrapped in italic or bold tags #217

Closed rm-code closed 7 years ago

rm-code commented 7 years ago

Description

bildschirmfoto 2017-11-06 um 23 34 05

Steps to Reproduce

Wrap a single character within a word in _ or * and see how the syntax highlighting goes crazy.

Expected behavior:

Working syntax highlighting.

Actual behavior:

Broken syntax highlighting.

Reproduces how often:

Each time.

Versions

macOS 10.13.1

Atom    : 1.21.2
Electron: 1.6.15
Chrome  : 56.0.2924.87
Node    : 7.4.0
apm  1.18.5
npm  3.10.10
node 6.9.5 x64
python 2.7.10
git 2.13.5
rsese commented 7 years ago

Thanks for taking the time to contribute!

We noticed that this is a duplicate of https://github.com/atom/language-gfm/issues/117. You may want to subscribe there for updates.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.

For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.