onDemand: add alt texts to historical changelogs

This commit is contained in:
dumbmoron 2024-01-15 00:30:37 +00:00
parent e807a3f2ab
commit ca51acd5bd
No known key found for this signature in database
GPG key ID: C59997C76C6A8E5F

View file

@ -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">`+