replace striptags with validator (#2192)

This commit is contained in:
Kevin Papst
2020-12-14 00:28:30 +01:00
committed by GitHub
parent f4f5c8fa88
commit e21fc656e4
5 changed files with 200 additions and 4 deletions

View File

@@ -72,7 +72,7 @@
{% block logo_mini %}
{% if not kimai_context.branding.mini is empty %}
{{ kimai_context.branding.mini|striptags('<b><i><u><strong><em>')|raw }}
{{ kimai_context.branding.mini|raw }}
{% else %}
<b>K</b>TT
{% endif %}
@@ -80,7 +80,7 @@
{% block logo_large %}
{% if not kimai_context.branding.company is empty %}
{{ kimai_context.branding.company|striptags('<b><i><u><strong><em>')|raw }}
{{ kimai_context.branding.company|raw }}
{% else %}
<b>Kimai</b> - Time Tracking
{% endif %}