-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
%% not working when not at the beginning of the line #323
Comments
hi these must be escaped as mentioned at https://docs.makotemplates.org/en/latest/syntax.html#control-structures so in this case you'd want %%% |
I don't know what's up with the second one, might be a bug, but Mako is not maintained right now (unless someone wants to wriet a PR w/ tests). try a literal block
|
Thanks for the reply |
Hai Zhu has proposed a fix for this issue in the main branch: fix percent escape not working when not at the beginning of the line https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/5111 |
I've reverted in edf44dc and revoked 1.3.1. This issue remains un-fixed |
Hai Zhu has proposed a fix for this issue in the main branch: fix percent escape not working when not at the beginning of the line https://gerrit.sqlalchemy.org/c/sqlalchemy/mako/+/5141 |
1.3.2 is released thanks again, will revisit here if further problems |
Hello,
Thanks for developing and maintaining a great package.
I have a template that looks like this
This gets rendered into
where the last line starts with (some spaces) + %%
Trying to template
Raises
Thanks again
The text was updated successfully, but these errors were encountered: