Skip to content

Commit

Permalink
Escape output of colorpicker values
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeTowers committed Dec 11, 2023
1 parent 78af271 commit 517f65d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -31,14 +31,14 @@ class="
data-color-value
class="form-control"
>
<?= $value ?>
<?= e($value); ?>
</span>
<?php else: ?>
<input
data-color-value
class="form-control"
placeholder="No color"
value="<?= $value ?>"
value="<?= e($value); ?>"
<?php if ($disabled): ?>
disabled
<?php endif ?>
Expand Down

0 comments on commit 517f65d

Please sign in to comment.