Editor does not detect tags that are attached to each other, reader does

Doing some testing around Tag parsing. Not Sure what the expected behavior is between the tag surfacing in the Search results, or the tag being highlighted in the Editor.

Did you follow the troubleshooting guide? Yes

Expected result

Not sure

Actual result

Stated above.

Environment

  • Obsidian version: 1.5.12
  • Operating system: Windows 10
  • Desktop environment: Windows 10
  • Obsidian installation method: .exe?

You are asked to submit bug reports using the Sandbox vault or in your own vault with Restricted mode enabled and no community theme or CSS snippets active. Your screenshot doesn’t look like that.

This is what I see clicking on the tag in the note to open Search, and then clicking the file heading Untitled in the results list.

moved to help section for the time being.

Yes, my bad for the poor explanation. Follow up screenshot from a sandbox vault.
image

Enter the raw text
#tag#you” on a new line in obsidian, the #you does not get highlighted, but is still searchable as a tag. No space after the first “#tag”.

Got it. With #tag #you (with a space), and clicking on the Start Here title in the Search tab, I see this:

With #tag#you (no space), I see this:

I always assumed multiple #tags needed to be separated by spaces, but we’ll see what the team have to say.

Forgot to include the Live Preview ↔ Reading view gif

Obsidian_5rfV19m1rQ

1 Like