Skip to content
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

Ignoring Jinja/Django syntax #303

Open
msert29 opened this issue Dec 13, 2024 · 0 comments
Open

Ignoring Jinja/Django syntax #303

msert29 opened this issue Dec 13, 2024 · 0 comments

Comments

@msert29
Copy link

msert29 commented Dec 13, 2024

I wanted to use premailer to compile my email templates however it seems that there are no options to ignore Jinja or Django syntax.

As an example

{% if user.age > 18 %}
....
Gets compiled into this

{% if user.age > 1 %}

Wondering if there is scope to add an option to completely ignore django and jinja syntax?

I have used the preserve_handlebar_syntax=True as well but no luck either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant