onDemand: add alt texts to historical changelogs
This commit is contained in:
@@ -17,6 +17,7 @@ export function changelogHistory() { // blockId 0
|
|||||||
`<div class="changelog-banner">
|
`<div class="changelog-banner">
|
||||||
<img class="changelog-img" ` +
|
<img class="changelog-img" ` +
|
||||||
`src="${history[i]["banner"]["url"]}" ` +
|
`src="${history[i]["banner"]["url"]}" ` +
|
||||||
|
`alt="${history[i]["banner"]["alt"].replaceAll('"', '"')}" ` +
|
||||||
`width="${history[i]["banner"]["width"]}" ` +
|
`width="${history[i]["banner"]["width"]}" ` +
|
||||||
`height="${history[i]["banner"]["height"]}" ` +
|
`height="${history[i]["banner"]["height"]}" ` +
|
||||||
`onerror="this.style.opacity=0" loading="lazy">`+
|
`onerror="this.style.opacity=0" loading="lazy">`+
|
||||||
|
|||||||
Reference in New Issue
Block a user