-
-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Templater commands cannot contain <% or %> #1508
Comments
I encountered this issue when trying to output different content based on conditions.
|
Temporary solution:
|
Likely won't fix this. This broke when the plugin switched from using EJS to rusty_engine. I don't have the capacity or know how to update rusty_engine to support this. Anyone is welcome to make a PR to rusty_engine to support this. |
Escaping the angle brackets is necessary in order for the example in your first comment to work. Eg:
Escaping the angle brackets and using backticks to declare tR as a template literal:
|
The following script will throw an error: Templater Error: Template parsing error, aborting.
Template syntax error: Invalid or unexpected token
But the following script will not throw an error.
The text was updated successfully, but these errors were encountered: