aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpyAggr3g470r.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index dd962144..1d9c1c1b 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -354,11 +354,8 @@ class Root:
if wordre.findall(article_content) != []:
if new_feed_section is True:
new_feed_section = False
- html += """<h2><a name="%s"><a href="%s" rel="noreferrer"
- target="_blank">%s</a></a>
- <a href="%s" rel="noreferrer"
- target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \
- (feed.feed_id, feed.feed_id, feed.feed_title, feed.feed_link, feed.feed_image)
+ html += """<h2><a href="/articles/%s" rel="noreferrer" target="_blank">%s</a><a href="%s" rel="noreferrer" target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \
+ (feed.feed_id, feed.feed_title, feed.feed_link, feed.feed_image)
if article.article_readed == "0":
# not readed articles are in bold
bgstack15