Make sure notes always have a value, even when null #3823

This commit is contained in:
James Cole
2020-09-22 16:19:51 +02:00
parent 1624abd9ed
commit d97fd73ce5
6 changed files with 6 additions and 6 deletions

View File

@@ -115,7 +115,7 @@
{% if not rule.active %}
class="text-muted"
{% endif %}
><br/>{{ rule.description|markdown }}</small>
><br/>{{ rule.description|default('')|markdown }}</small>
{% endif %}
<small><br />{% if rule.strict %}<span class="text-danger">{{ 'rule_is_strict'|_ }}</span>{% else %}<span class="text-success">{{ 'rule_is_not_strict'|_ }}</span>{% endif %}</small>
</td>