Fix over-escaping when default escaping is on
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 3 Jan 2022 22:51:48 +0000 (11:51 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 3 Jan 2022 22:51:48 +0000 (11:51 +1300)
templates/CRM/Custom/Page/Field.tpl

index 2ed880351ac722e576b9b196d020e2443df7b4e9..39b40c802bef3949a5f81d4ecbfa114692fd66ef 100644 (file)
             <td class="crm-editable" data-field="label">{$row.label}</td>
             <td>{$row.data_type}</td>
             <td>{$row.html_type}</td>
-            <td class="nowrap">{$row.weight}</td>
+            <td class="nowrap">{$row.weight|smarty:nodefaults}</td>
             <td class="crm-editable" data-type="boolean" data-field="is_required">{if !empty($row.is_required)} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
             <td class="crm-editable" data-type="boolean" data-field="is_searchable">{if !empty($row.is_searchable)} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
             <td>{if !empty($row.is_active)} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
-            <td>{$row.action|replace:'xx':$row.id}</td>
+            <td>{$row.action|smarty:nodefaults|replace:'xx':$row.id}</td>
         </tr>
         {/foreach}
         </tbody>