Funny formatting of closing link brackets ]] in title

Steps to reproduce

Type a title and place an internal link [[ ]] within the title. For instance:
# This title ends in a [[link]]

Expected result

The square brackets and the text within the link have the same font/size/formatting as the title.

Actual result

The closing brackets ]] are just formatted with body text. When inspecting in developer tools, it seems that the opening brackets are applied the class cm-formatting-link cm-header cm-header-1 whereas the closing brackets are only given the class cm-formatting-link

This occurs regardless of where the link is within the title, and both with standard CSS and my custom CSS. It also occurs with lower title levels (eg h2, h3, etc).

Environment

  • Operating system: macOS 10.15.5
  • Obsidian version: v0.8.0

Additional information

Screenshot 2020-07-23 at 16.21.32
Screenshot 2020-07-23 at 16.22.33
Screenshot 2020-07-23 at 16.33.25

This has been solved as of v0.8.1

Fixed ]] not properly styled in headings, which made them appear really small.

1 Like

Good o, thanks!

1 Like