mirror of
https://github.com/biomejs/biome.git
synced 2025-12-23 08:21:13 +00:00
fix: add avatar img alt (#1308)
This commit is contained in:
parent
0b80809c93
commit
8c7cb2dfcf
1 changed files with 3 additions and 1 deletions
|
|
@ -128,7 +128,9 @@ export async function main(args: string[]) {
|
|||
username,
|
||||
)}">`,
|
||||
);
|
||||
lines.push(`<img src="${escapeXHTMLEntities(avatar)}">`);
|
||||
lines.push(
|
||||
`<img src="${escapeXHTMLEntities(avatar)}" alt="${username}">`,
|
||||
);
|
||||
lines.push(`<span>${escapeXHTMLEntities(username)}</span>`);
|
||||
lines.push("</a></li>");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue