You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a CMake tool that needs to handle template variables with the following syntax: ${<macro-name>} (I also have more complex cases, but let's ignore those for now).
I tried to configure Askama but got this error:
error: delimiters must be at least two characters long. The closing expression delimiter ("}") is too short
Reading the Askama documentation, I came across this note:
Values must be at least two characters long
I'm new to this crate, and I'm curious, why is that restriction in place?
As a follow-up: is it really necessary to apply this restriction to the *_end delimiter as well?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a CMake tool that needs to handle template variables with the following syntax:
${<macro-name>}(I also have more complex cases, but let's ignore those for now).I tried to configure Askama but got this error:
error: delimiters must be at least two characters long. The closing expression delimiter ("}") is too shortReading the Askama documentation, I came across this note:
I'm new to this crate, and I'm curious, why is that restriction in place?
As a follow-up: is it really necessary to apply this restriction to the
*_enddelimiter as well?Beta Was this translation helpful? Give feedback.
All reactions