diff options
author | cedricbonhomme <devnull@localhost> | 2010-09-19 20:22:22 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-09-19 20:22:22 +0200 |
commit | c7ec934df972b43440bd8591a16679a466969aaa (patch) | |
tree | 00610f93239d6c60a7402366846b7ca76fb381dc /pyAggr3g470r.py | |
parent | Minor bugfix in topwords() function. (diff) | |
download | newspipe-c7ec934df972b43440bd8591a16679a466969aaa.tar.gz newspipe-c7ec934df972b43440bd8591a16679a466969aaa.tar.bz2 newspipe-c7ec934df972b43440bd8591a16679a466969aaa.zip |
Unescape HTML entities.
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-x | pyAggr3g470r.py | 5 |
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 += """ <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" |