{% set newline = "\n" %} {% set gt = ">" %} {% set lt = "<" %} {% set amp = "&" %} {% filter replace(">", ">foobarhuehuehue") | replace("<", lt) | replace(">foobarhuehuehue", gt) | replace("\n", newline) | replace("", "") %} {{ card_header }} Status Card {% endfilter %} {{ newline*2 }} {{ newline*2 }} {# just name all the xml fields of interest here #} {% for value in [ "name", "description", "image", "cp", "range", "power", "symbol", "difficulty", "duration", "playcost"] %} {{lt}}script type="text/html" class="xml_data" id="xml_data_{{ value }}"{{gt}}{{lt}}/script{{gt}} {{ newline }} {% endfor %} {{ newline*2 }} {{ newline*2 }} {{ newline*2 }} {{ newline }}