flamingo icon indicating copy to clipboard operation
flamingo copied to clipboard

template is not parsed in or before rst-plugin

Open Farom opened this issue 3 years ago • 0 comments

When writing a page in rst, i do things like

{% for l in [1,2,3,4] -%}
* Test{{l}}tseT
{% endfor %} 

I actually iterate over context.contents but this is enough as a simple test case.

I expect the rst to be rendered to

* Test1tseT
* Test2tseT
* Test3tseT
* Test4tseT

and this renders to a fine unordered list.

but i can see, that this is rendered to html first:

<div class="section" id="fehlererzeugung-bei-rst-jinja">
{% for a in [1,2,3,4] %}
* Test{{a}}tseT
{% endfor %}</div>
</div>

and is not interpreted as rst.

Farom avatar Dec 01 '22 14:12 Farom