Outline drops a bracket on each side of an escaped wikilink in a heading: `\[[escaped]]` shows as `[escaped]`

Steps to reproduce

  1. Open the sandbox vault and turn on the Outline core plugin.

  2. Create a note with this text:

    # A \[[escaped]] b
    
    Body.
    
  3. Compare the heading in the Outline with the heading in Reading view.

Did you follow the troubleshooting guide?

Yes. This happens in the sandbox vault.

Expected result

The Outline shows A [[escaped]] b, the same as Reading view. The backslash escapes the first [, so the text is not a link, and both brackets on each side are literal text.

Actual result

The Outline shows A [escaped] b. One bracket on each side is lost.

Escaping the closing brackets as well, \[[escaped\]], gives the same [escaped]. Escaping both opening brackets, \[\[escaped]], shows correctly as [[escaped]]. An escaped single bracket, \[x], also shows correctly.

The Outline renders other markup in headings the way Reading view does. **bold** shows as bold, [[link]] shows as link, [[link|alias]] shows as alias, and \*not em\* shows as *not em*. So this does not look like the Outline showing raw markdown. Its link handling seems to still read the escaped text as a wikilink.

Environment

  • Obsidian 1.14.5, installer 1.14.4, Windows 11, sandbox vault. Also reproduced on 1.15.0 (Catalyst).