Browse Source

Merge pull request #4605 from axzx/patch-6

Delete html tags in custom head title
Grégoire Paris 7 years ago
parent
commit
5bdeb8e6aa
1 changed files with 1 additions and 1 deletions
  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 %}
                     -