{% set cert = certificate.split('|') %} {% for line in cert %} {{ line }} {% endfor %}