+ block.epub_build(builder)
+ builder.end_element()
+
+ def html_build(self, builder):
+ for i, block in enumerate(self):
+ attr = {"class": "paralell-block"}
+ if not i:
+ attr['class'] += ' paralell-block-first'
+ if i == len(self) - 1:
+ attr['class'] += ' paralell-block-last'
+ builder.start_element('div', attr)
+ block.html_build(builder)