Is there a way in a template to loop line returns of a string?
eg.
template_string = “test
test2
test3”
{% for line in template_string|loopLineReturn %}
<p class="something something">{{line}}</p>
{% endfor %}
so output would be:
<p class="something something">test</p>
<p class="something something">test2</p>
<p class="something something">test3</p>
is this possible?