fix: 84 -> 92 on acid3

This commit is contained in:
Percs 2024-11-21 23:19:06 -06:00
parent e9f4e59566
commit 4263feca61
6 changed files with 40 additions and 17 deletions

View file

@ -294,6 +294,7 @@ export function rewriteSrcset(srcset: string, meta: URLMeta) {
// Rewrite the URLs and keep the descriptors (if any)
const rewrittenUrl = rewriteUrl(url.trim(), meta);
return descriptors.length > 0
? `${rewrittenUrl} ${descriptors.join(" ")}`
: rewrittenUrl;