[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 4e07d49bc08514376151c3a7c73dd3ed0b67583d
Author: hiro <hiro@xxxxxxxxxxxxxx>
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
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits