summaryrefslogtreecommitdiff
path: root/modules/quotesgrab
diff options
context:
space:
mode:
Diffstat (limited to 'modules/quotesgrab')
-rw-r--r--modules/quotesgrab/quotesgrab.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/quotesgrab/quotesgrab.js b/modules/quotesgrab/quotesgrab.js
index 6b3b068..37f44e6 100644
--- a/modules/quotesgrab/quotesgrab.js
+++ b/modules/quotesgrab/quotesgrab.js
@@ -19,6 +19,8 @@ function parsequoteshtml(html){
html.slice(idx,idx2)
.replace(/<\/?div[^>]*>/g,"")
.replace(/<br>/g,"\n")
+ .replace(/&gt;/g,">")
+ .replace(/&lt;/g,"<")
.replace(/&quot;/g,'"')
.replace(/&amp;/g,"&")
.replace(/&#x([0-9a-f][0-9a-f]);/gi,function(match,p1){