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;