summaryrefslogtreecommitdiffstats
path: root/toolkit/components/feeds/FeedProcessor.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-05 12:32:05 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-05 12:32:05 +0100
commit2782832f265a8e0a7923ca885b431907cde7cc49 (patch)
tree2e62ba7086ede873e2fcba57b1c535f4df4d3d8d /toolkit/components/feeds/FeedProcessor.js
parentd2b88bf812a9f13ac02e5cd116ae19e34a198ada (diff)
downloadUXP-2782832f265a8e0a7923ca885b431907cde7cc49.tar
UXP-2782832f265a8e0a7923ca885b431907cde7cc49.tar.gz
UXP-2782832f265a8e0a7923ca885b431907cde7cc49.tar.lz
UXP-2782832f265a8e0a7923ca885b431907cde7cc49.tar.xz
UXP-2782832f265a8e0a7923ca885b431907cde7cc49.zip
Take forms out of the RSS reader feed.
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);
},