mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-22 22:43:20 -06:00
FormatAmountPlain is HTML safe [skip ci]
This commit is contained in:
parent
17424740e5
commit
ff4472c1a5
@ -42,7 +42,7 @@ class General extends Twig_Extension
|
|||||||
$filters[] = new Twig_SimpleFilter(
|
$filters[] = new Twig_SimpleFilter(
|
||||||
'formatAmountPlain', function ($string) {
|
'formatAmountPlain', function ($string) {
|
||||||
return App::make('amount')->format($string, false);
|
return App::make('amount')->format($string, false);
|
||||||
}
|
}, ['is_safe' => ['html']]
|
||||||
);
|
);
|
||||||
|
|
||||||
$filters[] = new Twig_SimpleFilter(
|
$filters[] = new Twig_SimpleFilter(
|
||||||
|
Loading…
Reference in New Issue
Block a user