Skip to content

Commit

Permalink
fix #783 (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
champkeh authored Dec 23, 2021
1 parent 28cdbe7 commit 88d3ac1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/rrweb-snapshot/src/snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ export function transformAttribute(
return getAbsoluteSrcsetString(doc, value);
} else if (name === 'style' && value) {
return absoluteToStylesheet(value, getHref());
} else if (tagName === 'object' && name === 'data' && value) {
return absoluteToDoc(doc, value);
} else {
return value;
}
Expand Down

0 comments on commit 88d3ac1

Please sign in to comment.