From f3e92c4cc1cd263f169903ecd51d63b5c4cbddd9 Mon Sep 17 00:00:00 2001 From: alexandresalome Date: Sun, 11 Dec 2011 20:14:30 +0100 Subject: [PATCH] [TwigBundle] Fix the exception message escaping --- .../TwigBundle/Resources/views/Exception/traces.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/traces.html.twig b/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/traces.html.twig index 481425927d10..da0b5b8dd12b 100644 --- a/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/traces.html.twig +++ b/src/Symfony/Bundle/TwigBundle/Resources/views/Exception/traces.html.twig @@ -2,7 +2,7 @@ {% if count > 0 %}

[{{ count - position + 1 }}/{{ count + 1 }}] - {{ exception.class|abbr_class }}: {{ exception.message|replace({ "\n": '
' }) }}  + {{ exception.class|abbr_class }}: {{ exception.message|e|replace({"\n": '
'})|format_file_from_text }}  {% spaceless %} -