Skip to content

Commit b7442e1

Browse files
mjauvinLukeTowers
andauthored
escape the label.
Co-authored-by: Luke Towers <git@luketowers.ca>
1 parent b7cf609 commit b7442e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/backend/formwidgets/fieldset/partials/_fieldset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<fieldset class="fieldset">
44
<?php if ($label): ?>
5-
<legend><?= trans($label) ?></legend>
5+
<legend><?= e(trans($label)) ?></legend>
66
<?php endif ?>
77

88
<?= $this->formWidget->render(['section' => 'outside']) ?>

0 commit comments

Comments
 (0)