aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-09-19 20:22:22 +0200
committercedricbonhomme <devnull@localhost>2010-09-19 20:22:22 +0200
commitc7ec934df972b43440bd8591a16679a466969aaa (patch)
tree00610f93239d6c60a7402366846b7ca76fb381dc /pyAggr3g470r.py
parentMinor bugfix in topwords() function. (diff)
downloadnewspipe-c7ec934df972b43440bd8591a16679a466969aaa.tar.gz
newspipe-c7ec934df972b43440bd8591a16679a466969aaa.tar.bz2
newspipe-c7ec934df972b43440bd8591a16679a466969aaa.zip
Unescape HTML entities.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 4ade91b9..f4964947 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -408,9 +408,10 @@ class Root:
html += """&nbsp;&nbsp;<a href="/delete_article/%s:%s"><img src="/css/img/cross.png" title="Delete this article" /></a>""" % \
(feed_id, article_id)
html += "<br /><br />"
- description = article[4].encode('utf-8')
+ description = article[4]
if description:
- html += description
+ #html += utils.unescape(description).encode('utf-8')
+ html += description.encode('utf-8')
else:
html += "No description available."
html += "\n</div>\n<hr />\n"
bgstack15