dendronhq / dendron

The personal knowledge management (PKM) tool that grows as you do!
https://wiki.dendron.so
Apache License 2.0
6.52k stars 247 forks source link

Variable substitution on default variable not apply properly after apply template #3986

Open Wingless-Archangel opened 3 weeks ago

Wingless-Archangel commented 3 weeks ago

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

Describe the bug

When referencing default variable in Temeplate, the value will not be substituted and got the blank value instead

To Reproduce

Steps to reproduce the behavior:

  1. create the template with the variable that reference the default variable such as title
  2. create the new document without template
  3. use vscode command to apply the template
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information)

Additional context

N/A

Dendron Log file

the log is here