Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use XMLSerializer for snapshots
XMLSerializer outputs a conformant XML document, which we actually don't want; '>' characters inside CSS <style>s end up escaped, and the HTML5 parser doesn't unescape them when parsing, so it breaks some page styles. Use outerHTML and manually add the <!DOCTYPE> instead. Fixes zotero/zotero#3424
- Loading branch information