Escape names to fix #3489

This commit is contained in:
James Cole 2020-06-25 13:37:44 +02:00
parent 2aa6067437
commit d3bd1f4124
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
<h3 class="box-title">
{{ 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 }}
</h3>
<div class="box-tools pull-right">
<div class="btn-group">

View File

@ -58,7 +58,7 @@
<div class="panel-body">
<!-- Introduction -->
<p>
{{ trans('firefly.authorization_request_intro', {client: client.name})|raw }}
{{ trans('firefly.authorization_request_intro', {client: client.name|escape})|raw }}
</p>
<!-- Scope List -->
{% if scopes|length > 0 %}