From 6387f2b26f41e4c0447d5ba5280ae4ad0af8f799 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt <hi@coryd.dev> Date: Thu, 1 Feb 2024 08:10:58 -0800 Subject: [PATCH] fix: escapes --- package.json | 2 +- src/_includes/partials/webmentions/comments.liquid | 2 +- src/_includes/partials/webmentions/interaction.liquid | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index edabde54..c1aa8d0b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "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.", "type": "module", "scripts": { diff --git a/src/_includes/partials/webmentions/comments.liquid b/src/_includes/partials/webmentions/comments.liquid index c2abb39c..1c02574d 100644 --- a/src/_includes/partials/webmentions/comments.liquid +++ b/src/_includes/partials/webmentions/comments.liquid @@ -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'" /> diff --git a/src/_includes/partials/webmentions/interaction.liquid b/src/_includes/partials/webmentions/interaction.liquid index c4cd0b3c..5d81036f 100644 --- a/src/_includes/partials/webmentions/interaction.liquid +++ b/src/_includes/partials/webmentions/interaction.liquid @@ -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'" />