From ff4472c1a5bfcfcd80e9bff482aaecf1befd59c2 Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 3 May 2015 10:01:38 +0200 Subject: [PATCH] FormatAmountPlain is HTML safe [skip ci] --- app/Support/Twig/General.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Support/Twig/General.php b/app/Support/Twig/General.php index f5faf71981..0be9007420 100644 --- a/app/Support/Twig/General.php +++ b/app/Support/Twig/General.php @@ -42,7 +42,7 @@ class General extends Twig_Extension $filters[] = new Twig_SimpleFilter( 'formatAmountPlain', function ($string) { return App::make('amount')->format($string, false); - } + }, ['is_safe' => ['html']] ); $filters[] = new Twig_SimpleFilter(