Skip to content

Implement 'raw/endraw' statement #146

Closed
@flexferrum

Description

@flexferrum

Implement 'raw/endraw' statement according to Jinja2 documentation:

For bigger sections, it makes sense to mark a block raw. For example, to include example Jinja syntax in a template, you can use this snippet:

{% raw %}
    <ul>
    {% for item in seq %}
        <li>{{ item }}</li>
    {% endfor %}
    </ul>
{% endraw %}

I. e. everything between raw/endraw tags should be copied to the destination string as-is, without any interpretation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions