fix: escapes
This commit is contained in:
parent
055bc57fb8
commit
6387f2b26f
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "5.0.2",
|
"version": "5.0.3",
|
||||||
"description": "The source for my personal site. Built using 11ty and hosted on Netlify.",
|
"description": "The source for my personal site. Built using 11ty and hosted on Netlify.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<div class="avatar__wrapper flex--centered">
|
<div class="avatar__wrapper flex--centered">
|
||||||
<img
|
<img
|
||||||
src="{{ mention.author.photo }}"
|
src="{{ mention.author.photo }}"
|
||||||
alt="{{ mention.author.name }}"
|
alt="{{ mention.author.name | escape }}"
|
||||||
class="avatar__image"
|
class="avatar__image"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
onerror="this.onerror=null; this.src='/assets/img/icons/user.webp'" />
|
onerror="this.onerror=null; this.src='/assets/img/icons/user.webp'" />
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<div class="avatar__wrapper flex--centered">
|
<div class="avatar__wrapper flex--centered">
|
||||||
<img
|
<img
|
||||||
src="{{ mention.author.photo }}"
|
src="{{ mention.author.photo }}"
|
||||||
alt="{{ mention.author.name }}"
|
alt="{{ mention.author.name | escape }}"
|
||||||
class="avatar__image"
|
class="avatar__image"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
onerror="this.onerror=null; this.src='/assets/img/icons/user.webp'" />
|
onerror="this.onerror=null; this.src='/assets/img/icons/user.webp'" />
|
||||||
|
|
Reference in a new issue