diff --git a/templates/default/invoice/invoicecontents.html b/templates/default/invoice/invoicecontents.html index 2de9e7d10d..8da7bc97ef 100644 --- a/templates/default/invoice/invoicecontents.html +++ b/templates/default/invoice/invoicecontents.html @@ -107,7 +107,7 @@ - {$item.name} + {$item.name|escape} {if isset($item.name_custom_contents)} {$item.name_custom_contents} {/if} diff --git a/templates/default/invoice/invoicenew.html b/templates/default/invoice/invoicenew.html index 9cd155bc92..60a9c0a3c3 100644 --- a/templates/default/invoice/invoicenew.html +++ b/templates/default/invoice/invoicenew.html @@ -238,7 +238,7 @@

{$layout.pagetitle}

{section name=covenantlist loop=$covenantlist} {$covenantlist[covenantlist].time|date_format:"%Y/%m/%d"} - {$covenantlist[covenantlist].comment} + {$covenantlist[covenantlist].comment|escape} {tax_category_selection elementname="l_taxcategory[{$covenantlist[covenantlist].cashid}]" tip="Select tax category"} diff --git a/templates/default/invoice/invoicenotemodify.html b/templates/default/invoice/invoicenotemodify.html index a38f6693f5..781c91da59 100644 --- a/templates/default/invoice/invoicenotemodify.html +++ b/templates/default/invoice/invoicenotemodify.html @@ -316,7 +316,7 @@

{$layout.pagetitle}

{if $item.deleted} - {$item.name} + {$item.name|escape} {else} {/if}