Footnote followed by a : in the middle of a line is misinterpreted

Steps to reproduce

Type for instance:

Normal text.

Foo bar[^qux]: oh no!

[^qux]: this is ok

Expected result

Something like in the preview:

Screenshot 2021-12-29 at 10.49.49

IOW: I’d expect the editor to interpret something as a footnote only if the [ is the first character of the line.

Actual result

Looks like this in live editor:

Screenshot 2021-12-29 at 10.46.52

It makes the same mistake in legacy:

Screenshot 2021-12-29 at 10.49.14

Environment

  • Operating system:
    macOS
  • Debug info:

SYSTEM INFO:
Obsidian version: v0.13.14
Installer version: v0.12.19
Login status: logged in
Catalyst license: supporter
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: light
Community theme: none
Snippets enabled: 0
Safe mode: off
Plugins installed: 3
Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

1 Like

I can’t reproduce this. Does it work in the help vault?

Isn’t the colon used as a footnote marker, so doesn’t it need to be escaped if used in the text itself? Escaping does seem to work:

Normal text.

Foo bar[^qux]\: oh no!

[^qux]: this is ok

Angel

this was fixed in 0.13.16

1 Like

Ah thank you! Weird that I couldn’t find that bug report, I searched for footnote. :thinking:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.