fix: escapes

This commit is contained in:
Cory Dransfeldt 2024-02-01 08:10:58 -08:00
parent 055bc57fb8
commit 6387f2b26f
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@
<div class="avatar__wrapper flex--centered">
<img
src="{{ mention.author.photo }}"
alt="{{ mention.author.name }}"
alt="{{ mention.author.name | escape }}"
class="avatar__image"
loading="lazy"
onerror="this.onerror=null; this.src='/assets/img/icons/user.webp'" />

View file

@ -13,7 +13,7 @@
<div class="avatar__wrapper flex--centered">
<img
src="{{ mention.author.photo }}"
alt="{{ mention.author.name }}"
alt="{{ mention.author.name | escape }}"
class="avatar__image"
loading="lazy"
onerror="this.onerror=null; this.src='/assets/img/icons/user.webp'" />