mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 15:00:01 -04:00
fix: 84 -> 92 on acid3
This commit is contained in:
parent
e9f4e59566
commit
4263feca61
6 changed files with 40 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue