I can see this issue was raised earlier in Markdown formatting should be ignored within wikilinks and tags and mostly fixed. However the bug still occurs under specific conditions.
Steps to reproduce
Include a tag such as #AB123_-_Intro_To_Logic
in a note, using Live Preview mode
Expected result
There should be no italic formatting within or after the tag, since _
characters inside a tag should not affect markdown formatting
Actual result
Part of the tag and any text after the tag is italicized
Below is a screenshot illustrating the bug (taken with the default theme, Dark mode, no CSS snippets enabled)
Environment
- Operating system: Mac OS 12.6.1
- Obsidian version 1.0.3