Experimental class-based conversion now working for TXT and HTML.
[librarian.git] / src / librarian / elements / themes / end.py
index a6eb9e0..32c6f36 100644 (file)
@@ -2,4 +2,11 @@ from ..base import WLElement
 
 
 class End(WLElement):
-    pass
+    HTML_TAG = 'span'
+
+    def get_html_attr(self, builder):
+        fid = self.attrib['id'][1:]
+        return {
+            "class": "theme-end",
+            "fid": fid
+        }