EPUB: Support for subchapters without chapters.
[librarian.git] / src / librarian / elements / themes / end.py
1 from ..base import WLElement
2
3
4 class End(WLElement):
5     HTML_TAG = 'span'
6
7     def get_html_attr(self, builder):
8         fid = self.attrib.get('id', '')[1:]
9         return {
10             "class": "theme-end",
11             "fid": fid
12         }