An ATproto social media client -- with an independent Appview.

feat: profile.html escapejs

+6 -6
+6 -6
bskyweb/templates/profile.html
··· 56 { 57 "@context": "https://schema.org", 58 "@type": "ProfilePage", 59 - "dateCreated": "{{ profileView.CreatedAt }}", 60 "mainEntity": { 61 "@type": "Person", 62 - "name": "{{ profileView.DisplayName }}", 63 - "alternateName": "@{{ profileView.Handle }}", 64 - "identifier": "{{ profileView.Did }}", 65 - "description": "{{ profileView.Description }}", 66 - "image": "{{ profileView.Avatar }}", 67 "interactionStatistic": [ 68 { 69 "@type": "InteractionCounter",
··· 56 { 57 "@context": "https://schema.org", 58 "@type": "ProfilePage", 59 + "dateCreated": "{{ profileView.CreatedAt|escapejs }}", 60 "mainEntity": { 61 "@type": "Person", 62 + "name": "{{ profileView.DisplayName|escapejs }}", 63 + "alternateName": "@{{ profileView.Handle|escapejs }}", 64 + "identifier": "{{ profileView.Did|escapejs }}", 65 + "description": "{{ profileView.Description|escapejs }}", 66 + "image": "{{ profileView.Avatar|escapejs }}", 67 "interactionStatistic": [ 68 { 69 "@type": "InteractionCounter",