take into account new lines into customfiels text

[ci skip]
This commit is contained in:
Julien Fastré 2014-11-27 12:44:47 +01:00
parent 19a674d7a0
commit 65b8499458

View File

@ -1 +1 @@
{% if text is not empty %}{{ text }}{% else %}<span class="custom_fields_text empty">{{ 'None'|trans }}</span>{% endif %}
{% if text is not empty %}{{ text|nl2br }}{% else %}<span class="custom_fields_text empty">{{ 'None'|trans }}</span>{% endif %}