Skip to content

Commit

Permalink
cherry-pick(release-1.12): do not merge srcset urls (#6997)
Browse files Browse the repository at this point in the history
Cherry-pick PR #6995 SHA 19d69b7

References #6982

Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com>
  • Loading branch information
aslushnikov and pavelfeldman committed Jun 9, 2021
1 parent 3b669e1 commit 0d845e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/snapshot/snapshotterInjected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export function frameSnapshotStreamer(snapshotStreamer: string) {
if (spaceIndex === -1)
return this._sanitizeUrl(src);
return this._sanitizeUrl(src.substring(0, spaceIndex).trim()) + src.substring(spaceIndex);
}).join(',');
}).join(', ');
}

private _resolveUrl(base: string, url: string): string {
Expand Down

0 comments on commit 0d845e0

Please sign in to comment.