From a322ae412ae10217804ddef1568fabd3c15a7635 Mon Sep 17 00:00:00 2001 From: Elijah Seed-Arita Date: Wed, 27 Aug 2025 21:27:50 -0700 Subject: [PATCH] feat: profile.html escapejs --- bskyweb/templates/profile.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bskyweb/templates/profile.html b/bskyweb/templates/profile.html index bb5e9381a2..8fc7b67ce4 100644 --- a/bskyweb/templates/profile.html +++ b/bskyweb/templates/profile.html @@ -56,14 +56,14 @@ { "@context": "https://schema.org", "@type": "ProfilePage", - "dateCreated": "{{ profileView.CreatedAt }}", + "dateCreated": "{{ profileView.CreatedAt|escapejs }}", "mainEntity": { "@type": "Person", - "name": "{{ profileView.DisplayName }}", - "alternateName": "@{{ profileView.Handle }}", - "identifier": "{{ profileView.Did }}", - "description": "{{ profileView.Description }}", - "image": "{{ profileView.Avatar }}", + "name": "{{ profileView.DisplayName|escapejs }}", + "alternateName": "@{{ profileView.Handle|escapejs }}", + "identifier": "{{ profileView.Did|escapejs }}", + "description": "{{ profileView.Description|escapejs }}", + "image": "{{ profileView.Avatar|escapejs }}", "interactionStatistic": [ { "@type": "InteractionCounter",