tracker: 12.0.5 srcset join/split fix
This commit is contained in:
parent
c8525a6fec
commit
cbbe1329f9
1 changed files with 2 additions and 2 deletions
|
|
@ -44,9 +44,9 @@ export default function (app: App): void {
|
|||
return
|
||||
}
|
||||
const resolvedSrcset = srcset
|
||||
.split(',')
|
||||
.split(srcset.match(/,\s+/) ? /,\s+/ : ',')
|
||||
.map((str) => resolveURL(str))
|
||||
.join(',')
|
||||
.join(', ')
|
||||
app.attributeSender.sendSetAttribute(id, 'srcset', resolvedSrcset)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue