fix: prevent XSS
I learned that I don't have to pass in the html thingy. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
This commit is contained in:
parent
0107a83f90
commit
4264975a16
1 changed files with 2 additions and 2 deletions
|
@ -15,6 +15,6 @@
|
||||||
<h1 class="h1 font-semibold text-4xl leading-tight">
|
<h1 class="h1 font-semibold text-4xl leading-tight">
|
||||||
<!-- FIXME: Include placeholder in i18n -->
|
<!-- FIXME: Include placeholder in i18n -->
|
||||||
<span class="sr-only">{$_('page.profile.heading')}</span>
|
<span class="sr-only">{$_('page.profile.heading')}</span>
|
||||||
{@html displayName}
|
{displayName}
|
||||||
</h1>
|
</h1>
|
||||||
<p class="leading-normal my-1">({@html pronoun})</p>
|
<p class="leading-normal my-1">({pronoun})</p>
|
||||||
|
|
Loading…
Reference in a new issue