Skip to content

Ignoring Jinja/Django syntaxΒ #303

@msert29

Description

@msert29

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions