Steps to reproduce
Obsidian adds an empty div
and p
container when you have a reference.
<div>
<p>a test note </p>
<div></div>
<p></p>
</div>
is what it outputs when you write
a test note ^reference
But if you do not have a reference, then obsidian outputs this instead, which is how it should be:
<div>
<p>a test note </p>
</div>
Expected result
It should not output an empty div
and p
Element.
Actual result
see above
Was filed as an issue on my Spectrum Theme: [BUG] Additional space after comments · Issue #11 · Braweria/Spectrum · GitHub
Environment
- Operating system: Windows 10
- Obsidian version: 0.12.7