Skip to content
Snippets Groups Projects
Commit 78c951f7 authored by Igor Markin's avatar Igor Markin
Browse files

Properly retrieve document body

parent 8b376c95
No related branches found
No related tags found
1 merge request!36Fix validation cases
......@@ -185,7 +185,7 @@ const normalizeVendorHtml = (htmlString: string, vendor: string): string => {
document = window.document;
}
const mimeBody = document.firstChild.lastChild;
const mimeBody = document.body;
const amendNodesFunction = vendorAmendingFunctions[vendor];
if (amendNodesFunction) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment