Also don't escape in if context
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 7 Jul 2022 09:13:04 +0000 (21:13 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 7 Jul 2022 09:13:04 +0000 (21:13 +1200)
- just a bit less confusing when debugging

templates/CRM/common/info.tpl

index a54e9e65a94d0fbacfa4a8f5d188f7d28c24846a..94d9be9cb6b03933d0bbbfbd775befa59f26a445 100644 (file)
@@ -9,7 +9,7 @@
 *}
 {* Handles display of passed $infoMessage. *}
 {if $infoMessage|smarty:nodefaults || $infoTitle|smarty:nodefaults}
-  <div class="messages status {$infoType}"{if $infoOptions} data-options='{$infoOptions|smarty:nodefaults}'{/if}>
+  <div class="messages status {$infoType}"{if $infoOptions|smarty:nodefaults} data-options='{$infoOptions|smarty:nodefaults}'{/if}>
     {icon icon="fa-info-circle"}{/icon}
     <span class="msg-title">{$infoTitle}</span>
     <span class="msg-text">{$infoMessage|smarty:nodefaults|purify}</span>