Skip to content

Commit

Permalink
Merge pull request #22194 from eileenmcnaughton/smarty19
Browse files Browse the repository at this point in the history
[Smarty variables] Fix overzealous escaping with smarty default escaping
  • Loading branch information
demeritcowboy authored Dec 9, 2021
2 parents 10179df + 1e3df30 commit 59b516c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/CRM/common/formButtons.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{capture assign=linkname}name="{$linkButton.ref}"{/capture}
{else}{capture assign=linkname}name="{$linkButton.name}"{/capture}
{/if}
<a class="button" {$linkname} href="{crmURL p=$linkButton.url q=$linkButton.qs}" {$accessKey} {$linkButton.extra}><span>{$icon}{$linkButton.title}</span></a>
<a class="button" {$linkname} href="{crmURL p=$linkButton.url q=$linkButton.qs}" {$accessKey} {$linkButton.extra}><span>{$icon|smarty:nodefaults}{$linkButton.title}</span></a>
{/foreach}
{/if}

Expand Down

0 comments on commit 59b516c

Please sign in to comment.