From 211fd10b62fb1c8b53910f4b06745fae43e4468a Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 27 Apr 2021 15:55:31 +0200 Subject: [PATCH] Fix diffDOM errors with email encoded HTML (3D attributes) --- www/lib/diff-dom/diffDOM.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/lib/diff-dom/diffDOM.js b/www/lib/diff-dom/diffDOM.js index 0a2f22db6..deca9be40 100755 --- a/www/lib/diff-dom/diffDOM.js +++ b/www/lib/diff-dom/diffDOM.js @@ -690,7 +690,9 @@ } if (objNode.childNodes) { objNode.childNodes.forEach(function(childNode) { - node.appendChild(dobj.objToNode(childNode, insideSvg)); + try { + node.appendChild(dobj.objToNode(childNode, insideSvg)); + } catch (e) { console.debug(e); } }); } if (this.valueDiffing) {