Hashtag with spell checker and symbols `-_`

Bug info

Importance: 2/10

Steps to reproduce

  1. turn on spell check in Settings
  2. create a hashtag with a dash - or _ underscore symbol, and a word not in spell check dictionary. e.g. #Tag-nonexist
  3. Alt-click the Tag part or the nonexist part.

Actual result

  1. Searching for #Tag- or #nonexist

Expected result

  1. Searching for #Tag-nonexist


  • Mac OS 10.15.6
  • Obsidian version: 0.8.1
  • Using custom CSS: No

we did not support tags with undershore before 0.8.2. Let me know if you still have this bug with 0.8.2

I just fully uninstalled 0.8.1 and updated to 0.8.2. And the problem persists.
Alt-leftclick on #Tag-exist

(because nonexist is not a legit word in the dictionary)
Alt-leftclick on #Tag-nonexist , #Tag- part.

Alt-leftclick on #Tag-nonexist , nonexist part.

For underscore _, words from dictionary neither work well.
Click on #Tag_exist, #Tag_ part

Click on #Tag_exist, exist part

I can’t reproduce anymore in 0.10.6