Steps to reproduce
- Open a note
Note0.md(actual file name is irrelevant). - Type
<hr>to produce a horizontal line separator using HTML. - Without any blank lines inbetween the horizontal line separator and the followup text, create a
[[Note1]]internal link, or a#Taginline tag declaration.
Did you follow the troubleshooting guide? [Y/N]
Yes.
Expected result
The internal link should be declared as a “Linked mention” in the backlinks section of the linked note, in this example, the file Note1.md.
&&
The tagged note, in this example Note0.md, should be visible in the search results list if prompted with tag:#Tag.
Actual result
The markdown editor recognises the tag and internal link, and allows you to search for it and access the linked note respectively when clicked, however…
The internal link only shows up on Note1.md as an unlinked mention.
&&
The #Tag tag is not recognised at all by the search functionality.
Environment
SYSTEM INFO:
Obsidian version: v1.9.10
Installer version: v1.9.10
Operating system: Windows 11 Home Single Language 10.0.26100
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
As the image shows, you can have seemingly any amount of other text, and even multiple new lines after
<hr>, but for as long as you don’t have a fully blank new line, the issue will persist.
A blank line inserted immeditely afterwards via HTML using
<hr> <br> does not fix the issue. However, a horizontal line inserted via --- doesn’t have any of these issues, and doesn’t require any type of blank line afterwards…
This led me to explore a bit more, and I found out that all HTML snippets I tried had the same effect—as long as there is no blank line in source view between them and a declaration of internal links or inline tags, nothing in Obsidian apart from the editor recognises it (other notes and search as mentioned here; but later on I even tried some community plugins that interact with tags or backlinks, nothing I did would recognise
Note0.md as tagged, nor Note1.md as being internally linked).
Even a single ‘true’ blank line between the HTML snippet and the internal link or tag declaration will fix the issue.



