{{date}} properties get corrupted

Steps to reproduce

  • create new vault
  • create new file
  • go to source mode
  • enter this:
---
date: {{date}}
---
  • exit source mode
  • shows a “type mismatch, expected text” warning — ok, not a big deal
  • this file can now be applied as a template, {{date}} is replaced with the current date
  • click “add property”
  • add a new string property like “foo”
  • go back to source mode, observe it is now:
---
date:
  "{ date }":
foo:
---
  • when applying it as a template, the date is no longer replaced

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

When adding a property to a template file, a property using {{date}} shouldn’t get modified.

Actual result

It gets changed to:

date:
  "{ date }":

Environment

SYSTEM INFO:
Obsidian version: v1.10.2
Installer version: v1.9.14
Operating system: Darwin Kernel Version 25.0.0: Wed Sep 17 21:41:23 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T8122 25.0.0
Login status: logged in
Language: en
Catalyst license: supporter
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

1 Like