Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Custom words not recognized when italicized in markdown #376

Description

@ms609

Description

Words in a custom dictionary are underlined in red and treated as misspelt when surrounded by _italic_ markdown

Steps to Reproduce

  1. Add a custom word to the "Known words" list in the spell-check settings page: e.g. FooBar
  2. Type the word in a Markdown document and verify it is marked as correctly spelt
  3. Italicize the word by typing _FooBar_. The word is marked as incorrect

Expected behavior:
Formatting marks should not influence the correctness of the word

Actual behavior:
Underscores (but not asterisks) are treated as part of the word, causing the word to fail to match the custom words list

image

Reproduces how often:

Always

Versions

Windows 10

Atom    : 1.60.0
Electron: 9.4.4
Chrome  : 83.0.4103.122
Node    : 12.14.1

apm  2.6.2
npm  6.14.13
node 12.14.1 x64
atom 1.60.0
python 3.9.7
git
visual studio

Additional Information

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions