mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-12 03:34:26 +02:00
onDemand: add alt texts to historical changelogs
This commit is contained in:
parent
e807a3f2ab
commit
ca51acd5bd
@ -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('"', '"')}" ` +
|
||||
`width="${history[i]["banner"]["width"]}" ` +
|
||||
`height="${history[i]["banner"]["height"]}" ` +
|
||||
`onerror="this.style.opacity=0" loading="lazy">`+
|
||||
|
Loading…
x
Reference in New Issue
Block a user