Skip to content

Commit 4384bb6

Browse files
committed
Add escaping
1 parent a33fa1b commit 4384bb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

view/frontend/templates/component/messages.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use Loki\CssUtils\Util\CssClass;
3030
<button
3131
:data-message-text="message.text"
3232
@click.prevent="removeMessage"
33-
class="<?= $css('close w-3', 'button') ?>">
33+
class="<?= /* @noEscape */ $css('close w-3', 'button') ?>">
3434
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512">><path d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"/></svg>
3535
</button>
3636
</div>

0 commit comments

Comments
 (0)