fix: Escaping range and values summarizer state (#19502)

This commit is contained in:
Dan Harrin
2026-03-14 07:33:11 +00:00
committed by GitHub
parent 8c89a0a578
commit efa041aeeb
2 changed files with 3 additions and 3 deletions
@@ -155,11 +155,11 @@ class Range extends Summarizer
<?php if (filled($from) || filled($to)) { ?>
<span>
<?= $from ?>
<?= e($from) ?>
<?= (filled($from) && filled($to)) ? '-' : '' ?>
<?= $to ?>
<?= e($to) ?>
</span>
<?php } ?>
</div>
@@ -47,7 +47,7 @@ class Values extends Summarizer
<ul <?= $this->isBulleted() ? 'class="fi-bulleted"' : '' ?>>
<?php foreach ($state as $stateItem) { ?>
<li>
<?= $this->formatState($stateItem) ?>
<?= e($this->formatState($stateItem)) ?>
</li>
<?php } ?>
</ul>