A property value like "[text]()" wipes the note's whole metadata cache: links, headings and tags disappear

Steps to reproduce

  1. In a new vault with no community plugins, create a note Target.md, and a note Test.md with this content:

    ---
    k: "[text]()"
    ---
    # Heading
    
    [[Target]] #tag
    
  2. Open the developer console (Ctrl+Shift+I) and run:

    app.metadataCache.getFileCache(app.vault.getAbstractFileByPath('Test.md'))
    
  3. Look at the backlinks of Target, the tag pane, and the outline of Test.

Did you follow the troubleshooting guide?

Yes (reproduced in the sandbox vault, no community plugins).

Expected result

The note keeps its metadata: one link to Target, the heading Heading, the tag #tag, and the property k. At worst the odd value is ignored.

Actual result

getFileCache returns null. The note has no links, headings, tags, sections or properties: Target shows no backlink from Test, #tag is not counted in the tag pane, and the outline is empty.

app.metadataCache.resolvedLinks['Test.md'] is missing as well, so the link from Test to Target is gone for backlinks and the graph.

k: "[text]( )" (a space between the parentheses) does the same. k: "[text](x)" is fine, and so is the same text in the note body (see [text]() here).

Environment

SYSTEM INFO:
	Obsidian version: 1.14.5
	Installer version: 1.14.4
	Operating system: Windows 11 Pro 10.0.26300
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Sandbox vault, no community plugins, default theme and settings.

Additional information

The whole note is dropped, not only the property, so one odd property value silently breaks the note’s backlinks, tags and outline. The value is a markdown link with an empty destination, which a user can easily type while editing a property.

app.metadataCache.computeMetadataAsync(new TextEncoder().encode('---\nk: "[text]()"\n---\n# H').buffer) also resolves to null.