diff --git a/resources/views/v1/accounts/show.twig b/resources/views/v1/accounts/show.twig index a291392c01..7040ac6a8d 100644 --- a/resources/views/v1/accounts/show.twig +++ b/resources/views/v1/accounts/show.twig @@ -13,7 +13,7 @@

{{ trans('firefly.chart_account_in_period', { balance: formatAmountBySymbol(balance, currency.symbol, currency.decimal_places, true), - name: account.name, start: start.formatLocalized(monthAndDayFormat), end: end.formatLocalized(monthAndDayFormat) })|raw }} + name: account.name|escape, start: start.formatLocalized(monthAndDayFormat), end: end.formatLocalized(monthAndDayFormat) })|raw }}

diff --git a/resources/views/v1/vendor/passport/authorize.twig b/resources/views/v1/vendor/passport/authorize.twig index 8c44f0907e..47bb899855 100644 --- a/resources/views/v1/vendor/passport/authorize.twig +++ b/resources/views/v1/vendor/passport/authorize.twig @@ -58,7 +58,7 @@

- {{ trans('firefly.authorization_request_intro', {client: client.name})|raw }} + {{ trans('firefly.authorization_request_intro', {client: client.name|escape})|raw }}

{% if scopes|length > 0 %}