We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A single example like this will cause a render error ( tested on Release 1.3.1)
void minimum_example() { jinja2::Template tpl; tpl.Load("{{ 'Hello World!' + '\n'}}"); std::cout << tpl.RenderAsString({}).value() << std::endl; }
I found the issue could be avoided if a space is inserted:
tpl.Load("{{ 'Hello World!' + '\n' }}");
But considering template file is usually not so space sensitive and accurate, I wonder if this is something that can be fixed?
The text was updated successfully, but these errors were encountered:
A possible workaround is to replace ' with \".
'
\"
Sorry, something went wrong.
No branches or pull requests
A single example like this will cause a render error ( tested on Release 1.3.1)
I found the issue could be avoided if a space is inserted:
tpl.Load("{{ 'Hello World!' + '\n' }}");
But considering template file is usually not so space sensitive and accurate, I wonder if this is something that can be fixed?
The text was updated successfully, but these errors were encountered: