{% if data is not none and data.text %} {% if schema.markdown and data.is_markdown %} {{ data.text | markdown_to_safe_html | safe }} {% elif 'multiline' in schema and schema['multiline'] %} {{ data.text }} {% else %} {{ data.text }} {% endif %} {% else %} — {% endif %}