[tor-commits] [lego/master] Refactor plugin

hiro at torproject.org hiro at torproject.org
Mon Sep 2 17:16:37 UTC 2019


commit 4e07d49bc08514376151c3a7c73dd3ed0b67583d
Author: hiro <hiro at torproject.org>
Date:   Mon Sep 2 19:16:35 2019 +0200

    Refactor plugin
---
 packages/xml-to-html/lektor_xml_to_html.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/xml-to-html/lektor_xml_to_html.py b/packages/xml-to-html/lektor_xml_to_html.py
index 61cd1fc..a98541d 100644
--- a/packages/xml-to-html/lektor_xml_to_html.py
+++ b/packages/xml-to-html/lektor_xml_to_html.py
@@ -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
 



More information about the tor-commits mailing list