From 03cbd80d865ee7da235f4c0f9d18c974accb92e7 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 13 Apr 2022 14:16:58 +1200 Subject: [PATCH] Do not escape wizard class - procede straight to Hogwarts --- templates/CRM/common/WizardHeader.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/CRM/common/WizardHeader.tpl b/templates/CRM/common/WizardHeader.tpl index 3834cea294..3ca60b9cb9 100644 --- a/templates/CRM/common/WizardHeader.tpl +++ b/templates/CRM/common/WizardHeader.tpl @@ -34,20 +34,20 @@ {else} {assign var="stepClass" value="current-sub-step"} {/if} - {assign var="stepPrefix" value=$wizard.style.stepPrefixCurrent|cat:$wizard.steps[step].stepNumber|cat:". "} + {assign var="stepPrefix" value=$wizard.style.stepPrefixCurrent|smarty:nodefaults|cat:$wizard.steps[step].stepNumber|cat:". "} {else} {if $wizard.steps[step].step} {assign var="stepClass" value="future-step"} {else} {assign var="stepClass" value="future-sub-step"} {/if} - {assign var="stepPrefix" value=$wizard.style.stepPrefixFuture|cat:$wizard.steps[step].stepNumber|cat:". "} + {assign var="stepPrefix" value=$wizard.style.stepPrefixFuture|smarty:nodefaults|cat:$wizard.steps[step].stepNumber|cat:". "} {/if} {if !$wizard.steps[step].valid} {assign var="stepClass" value="$stepClass not-valid"} {/if} {* wizard.steps[step].link value is passed for wizards/steps which allow clickable navigation *} -
  • {$stepPrefix}{if $wizard.steps[step].link}{/if}{$title}{if $wizard.steps[step].link}{/if}
  • +
  • {$stepPrefix|smarty:nodefaults}{if $wizard.steps[step].link}{/if}{$title}{if $wizard.steps[step].link}{/if}
  • {/if} {/section} -- 2.25.1