fix source html displaying
authordemeritcowboy <demeritcowboy@hotmail.com>
Thu, 9 Nov 2023 23:43:30 +0000 (18:43 -0500)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Thu, 9 Nov 2023 23:43:30 +0000 (18:43 -0500)
templates/CRM/Price/Form/Option.tpl

index f64d2b7df087c50154bf791da2f10886d0707700..2627e1deb8b925acaf44e7c0d0607c0e2d2d0c8f 100644 (file)
         </tr>
       {/if}
       <tr class="crm-price-option-form-block-label">
-        <td class="label">{$form.label.label|escape}</td>
+        <td class="label">{$form.label.label|smarty:nodefaults|purify}</td>
         <td>{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_field_value' field='label' id=$optionId}{/if}{$form.label.html}</td>
       </tr>
       <tr class="crm-price-option-form-block-amount">
-        <td class="label">{$form.amount.label|escape}</td>
+        <td class="label">{$form.amount.label|smarty:nodefaults|purify}</td>
         <td>{$form.amount.html}</td>
       </tr>
       <tr class="crm-price-option-form-block-non-deductible-amount">
         <td>{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_price_field_value' field='description' id=$optionId}{/if}{$form.description.html}</td>
       </tr>
       <tr class="crm-price-option-form-block-help-pre">
-        <td class="label">{$form.help_pre.label|escape}</td>
+        <td class="label">{$form.help_pre.label|smarty:nodefaults|purify}</td>
         <td>{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}</td>
       </tr>
       <tr class="crm-price-option-form-block-help-post">
-        <td class="label">{$form.help_post.label|escape}</td>
+        <td class="label">{$form.help_post.label|smarty:nodefaults|purify}</td>
         <td>{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}</td>
       </tr>
       <tr class="crm-price-option-form-block-financial-type">