diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-04-15 08:22:10 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-04-15 08:22:10 +0200 |
commit | b9b309c0f76293f56e2aaac199f0701da7469512 (patch) | |
tree | f999a5f809b7ab53821b5d3bbdf85c372367e301 | |
parent | Improvements in the article.html template. (diff) | |
download | newspipe-b9b309c0f76293f56e2aaac199f0701da7469512.tar.gz newspipe-b9b309c0f76293f56e2aaac199f0701da7469512.tar.bz2 newspipe-b9b309c0f76293f56e2aaac199f0701da7469512.zip |
Don't append <br/> tag after the content of the article.
-rwxr-xr-x | source/pyAggr3g470r.py | 6 |
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) |