Skip to content

Firefly III: a personal finances manager

FormatAmountPlain is HTML safe [skip ci]

James Coleff4472c1a5bf
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(