Inline Footnotes have incorrect classes

Steps to reproduce

In Live Preview…

Line of text^[with footnote]

This is broken.

<span class="cm-hmd-barelink cm-link">with footnote</span>
line of text with space ^[before the footnote]

or with a some non-letter characters ]^[before the footnote]

Works as expected.

<span class="cm-inline-footnote">before the footnote</span>

Environment

  • Operating system: Windows 11, 21H2, 22000.376
  • Obsidian version: 0.13.18
  • Installer Version: 0.13.14
1 Like