90ec348c5b755d718bee74f118d72bb0eee76bf5
[librarian.git] / src / librarian / elements / front / base.py
1 from ..base import WLElement
2
3
4 class HeaderElement(WLElement):
5     HTML_TAG = 'span'
6     SHOULD_HAVE_ID = True
7     
8     def txt_build(self, builder):
9         builder.enter_fragment('header')
10         super(HeaderElement, self).txt_build(builder)
11         builder.exit_fragment()
12
13     def html_build(self, builder):
14         builder.enter_fragment('header')
15         super(HeaderElement, self).html_build(builder)
16         builder.exit_fragment()