From 58bd16c3d3baf71274669f280d24aa304924afd8 Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Sat, 14 Feb 2015 04:25:08 -0500 Subject: [PATCH] [WebProfilerBundle] fix html lint on (other) empty onclick *This is for the empty onclick that appeared in 2.6* The request collector has an empty onclick="" attribute when {{ link }} isn't available. This tends to happen when rendering the debug toolbar. --- .../Resources/views/Collector/request.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/request.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/request.html.twig index 42ff85fae5..d4d4e82cdc 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/request.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/request.html.twig @@ -10,7 +10,7 @@ {{ collector.controller.method }} {% else %} - {{ collector.controller.class|abbr_class }} + {{ collector.controller.class|abbr_class }} {% endif %} {% else %} {{ collector.controller }}