From a3a2f153c7e35dddc1331b8d442d18db99bb4ce9 Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Sat, 14 Feb 2015 04:09:17 -0500 Subject: [PATCH] [WebProfilerBundle] fix html linting on empty onclick 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 8f1d1332be..3380f5d9cc 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/request.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/request.html.twig @@ -5,7 +5,7 @@ {% if collector.controller.class is defined %} {% set link = collector.controller.file|file_link(collector.controller.line) %} {{ collector.controller.class|abbr_class }} - + {{ collector.controller.method }} {% else %}