Don't allow HTML in Select fields

If there's somewhere where we do need it, we should make it opt-in,
as stripping is the safe default.

Closes #2883
This commit is contained in:
Damien Elmes 2023-12-10 12:46:25 +10:00
parent c09a46f857
commit 93738d1656

View file

@ -218,7 +218,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
use:asReference use:asReference
> >
<div class="inner"> <div class="inner">
<div class="label">{@html label}</div> <div class="label">{label}</div>
</div> </div>
<div class="chevron"> <div class="chevron">
<IconConstrain iconSize={80}> <IconConstrain iconSize={80}>