- attr = super(WersWciety, self).get_html_attr(builder)
- attr['style'] = "padding-left: {}em".format(self.typ)
+ attr = super().get_html_attr(builder)
+ attr['class'] += f" verse-indent-{self.typ}"
+ return attr
+
+ def get_epub_attr(self, builder):
+ attr = super().get_html_attr(builder)
+ attr['style'] = "margin-left: {}em".format(self.typ)