From: demeritcowboy Date: Thu, 9 Nov 2023 23:43:30 +0000 (-0500) Subject: fix source html displaying X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=de15204b7ca7e4685245747541e54663ea024a25;p=civicrm-core.git fix source html displaying --- diff --git a/templates/CRM/Price/Form/Option.tpl b/templates/CRM/Price/Form/Option.tpl index f64d2b7df0..2627e1deb8 100644 --- a/templates/CRM/Price/Form/Option.tpl +++ b/templates/CRM/Price/Form/Option.tpl @@ -28,11 +28,11 @@ {/if} - {$form.label.label|escape} + {$form.label.label|smarty:nodefaults|purify} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_field_value' field='label' id=$optionId}{/if}{$form.label.html} - {$form.amount.label|escape} + {$form.amount.label|smarty:nodefaults|purify} {$form.amount.html} @@ -44,11 +44,11 @@ {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_field_value' field='description' id=$optionId}{/if}{$form.description.html} - {$form.help_pre.label|escape} + {$form.help_pre.label|smarty:nodefaults|purify} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_field_value' field='help_pre' id=$optionId}{/if}{$form.help_pre.html} - {$form.help_post.label|escape} + {$form.help_post.label|smarty:nodefaults|purify} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_field_value' field='help_post' id=$optionId}{/if}{$form.help_post.html}