- {$row.code} {$row.description} |
+ {$row.code} {$row.description|purify} |
{if $row.amount_type eq '1'}{$row.amount} %{else}{$row.amount|crmMoney}{/if} |
{$row.count_use}
/ {if $row.count_max eq 0}{ts}Unlimited{/ts}{else}{$row.count_max}{/if} |
diff --git a/templates/CRM/CiviDiscount/Page/View.tpl b/templates/CRM/CiviDiscount/Page/View.tpl
index 639ed0a..4ef873d 100644
--- a/templates/CRM/CiviDiscount/Page/View.tpl
+++ b/templates/CRM/CiviDiscount/Page/View.tpl
@@ -49,7 +49,7 @@