Experimental DAISY builder.
[librarian.git] / src / librarian / elements / poetry / wers.py
index e164b1d..5c28058 100644 (file)
@@ -10,4 +10,10 @@ class Wers(WLElement):
     TXT_LEGACY_BOTTOM_MARGIN = 0
 
     HTML_TAG = 'div'
-    HTML_ATTRIB = {"class": "verse"}
+    HTML_CLASS = 'verse'
+
+    @property
+    def meta(self):
+        if hasattr(self, 'stanza'):
+            return self.stanza.meta
+        return super(Wers, self).meta