{% set lines = article.content_text.split('\n') -%} {%- for line in lines %} {%- if line|trim %}

{{ line|safe }}

{%- endif %} {%- endfor %}