aboutsummaryrefslogtreecommitdiff
path: root/source/pyAggr3g470r.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-04-15 08:22:10 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-04-15 08:22:10 +0200
commitb9b309c0f76293f56e2aaac199f0701da7469512 (patch)
treef999a5f809b7ab53821b5d3bbdf85c372367e301 /source/pyAggr3g470r.py
parentImprovements in the article.html template. (diff)
downloadnewspipe-b9b309c0f76293f56e2aaac199f0701da7469512.tar.gz
newspipe-b9b309c0f76293f56e2aaac199f0701da7469512.tar.bz2
newspipe-b9b309c0f76293f56e2aaac199f0701da7469512.zip
Don't append <br/> tag after the content of the article.
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-xsource/pyAggr3g470r.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py
index a57c4b3e..d0753537 100755
--- a/source/pyAggr3g470r.py
+++ b/source/pyAggr3g470r.py
@@ -213,10 +213,8 @@ class pyAggr3g470r(object):
description = "<p>" + utils.clear_string(article["article_content"]) + "</p>"
else:
description = article["article_content"]
- if description != "":
- description += "\n<br />\n"
- else:
- description = "<p>No description available.</p>\n<br />\n"
+ if description == "":
+ description = "<p>No description available.</p>"
# Generation of the QR Code for the current article
utils.generate_qr_code(article)
bgstack15