Просмотр исходного кода

Delete html tags in custom head title

Adam 7 лет назад
Родитель
Сommit
a3c01d7d7a
1 измененных файлов с 1 добавлено и 1 удалено
  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 %}
                     -