From bb7bb3e7c3a349ecadf3f7dc348e3fd7cbbdef3c Mon Sep 17 00:00:00 2001 From: kdavis-mozilla Date: Wed, 15 Jan 2020 12:27:16 +0100 Subject: [PATCH] Temp fix of Issue #2 --- browser/components/translation/BergamotTranslator.jsm | 1 + 1 file changed, 1 insertion(+) diff --git a/browser/components/translation/BergamotTranslator.jsm b/browser/components/translation/BergamotTranslator.jsm index 89660466bc7b4..6c7fb6ee08b5c 100644 --- a/browser/components/translation/BergamotTranslator.jsm +++ b/browser/components/translation/BergamotTranslator.jsm @@ -192,6 +192,7 @@ this.BergamotTranslator.prototype = { let doc = new DOMParser().parseFromString(result, "text/html"); result = doc.body.firstChild.nodeValue; } + root.isSimpleRoot = true; root.parseResult(result); } catch (e) { error = true;