Using spell check suggestion deletes some punctuation marks

Steps to reproduce

Have a misspelled word next to punctuation. Select one of the spell checker’s suggestion to correct the spelling error.

EXAMPLE: The quick brown fox jumped over the lazy dgo.

In this example, right click on “dgo” and select “dog”.

Expected result

The expected result is: The quick brown fox jumped over the lazy dog.

Actual result

The period at the end of the sentence gets deleted. I tested this with other punctuation marks (comma, semicolon, question mark, hyphen, and parenthesis) and it does the same thing.

The bug does not occur with colons, exclamation marks, square brackets, or quotation marks.

Environment

  • Operating system: Windows 10 Version 2004
  • Obsidian version: 0.8.9
3 Likes

I’m also experiencing this bug.
MacOS 10.15.6
Obsidian 0.8.14

understnd? becomes understand after spell check.

I also noticed this.

MacOS: 10.15.6
Obsidian: 0.8.15

Discovered today that this bug will also delete text when it involves a hyphenated word.

spellcheck-bug

MacOS 10.15.6
Obsidian 0.9.0

This also happens with words after a hyphen in a hashtag, but doesn’t delete the # itself
#seven-yaers would become #years upon spellcheck selection.

Also noted, for me when adding a word to the dictionary inside parentheses. E.g. (dgo), if right click and “add to dictionary” results in (dgo

Mac 10.15.7 and Obsidian 0.9.1.

Noticed this happens with commas (,) as well. shoost, then leaves when corrected will become shoots then leaves
MacOS 10.15.6 (19G2021)
Obsidian 0.9.2