mirror of
https://github.com/torproject/lego.git
synced 2024-11-23 09:39:44 +00:00
Refactor plugin
This commit is contained in:
parent
5fcae78213
commit
4e07d49bc0
@ -26,7 +26,7 @@ class XmlToHtmlPlugin(Plugin):
|
||||
for entry in items:
|
||||
title = entry.findtext('title')
|
||||
link = entry.findtext('link')
|
||||
stream += "<h3><a href=\"" + link +"\">" + title + "</a></h3>"
|
||||
stream += "<div class=\"row\"><h3><a href=\"" + link +"\">" + title + "</a></h3></div>"
|
||||
|
||||
return stream
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user