Document file metadata having special characters

I use file metadata fields for index creation.
Now I have the problem, that the desired metadata field name contents a special character: -
The exiftool field is named “Creation-date”
How can I escape the “-” in the name to parse the evaluation expression for Creation-date ?


I think I understand the issue. The template code will interpret the - as a math minus operation and won’t allow fetching the file metadata.

The possible escaping at the template ({{ |escape }} and {% verbatim %}) won’t cover this scenario.

This requires a long term solution for all possible use cases. Perhaps replacing all special characters in the file metadata with a limited, printable set.