summaryrefslogtreecommitdiffstats
path: root/toolkit/components/feeds/FeedProcessor.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/feeds/FeedProcessor.js')
-rw-r--r--toolkit/components/feeds/FeedProcessor.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/components/feeds/FeedProcessor.js b/toolkit/components/feeds/FeedProcessor.js
index 88d0ad6ed..51b6b13c9 100644
--- a/toolkit/components/feeds/FeedProcessor.js
+++ b/toolkit/components/feeds/FeedProcessor.js
@@ -637,7 +637,8 @@ TextConstruct.prototype = {
else
return null;
- return this.parserUtils.parseFragment(this.text, 0, isXML,
+ let flags = Ci.nsIParserUtils.SanitizerDropForms;
+ return this.parserUtils.parseFragment(this.text, flags, isXML,
this.base, element);
},