mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
fix: Escaping range and values summarizer state (#19502)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user