Explorar o código

Delete html tags in custom head title

Adam %!s(int64=7) %!d(string=hai) anos
pai
achega
a3c01d7d7a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Resources/views/standard_layout.html.twig

+ 1 - 1
Resources/views/standard_layout.html.twig

@@ -91,7 +91,7 @@ file that was distributed with this source code.
             {{ 'Admin'|trans({}, 'SonataAdminBundle') }}
 
             {% if _title is not empty %}
-                {{ _title|raw }}
+                {{ _title|striptags|raw }}
             {% else %}
                 {% if action is defined %}
                     -