Skip to content

best way to save what you love

onDemand: add alt texts to historical changelogs

dumbmoronca51acd5bdbb
diff --git a/src/modules/pageRender/onDemand.js b/src/modules/pageRender/onDemand.js
index 226ff6b4..7667708f 100644
--- a/src/modules/pageRender/onDemand.js
+++ b/src/modules/pageRender/onDemand.js
@@ -17,6 +17,7 @@ export function changelogHistory() { // blockId 0
`<div class="changelog-banner">
<img class="changelog-img" ` +
`src="${history[i]["banner"]["url"]}" ` +
+ `alt="${history[i]["banner"]["alt"].replaceAll('"', '&quot;')}" ` +
`width="${history[i]["banner"]["width"]}" ` +
`height="${history[i]["banner"]["height"]}" ` +
`onerror="this.style.opacity=0" loading="lazy">`+