Make sure Pillow uses ImageFont.LAYOUT_BASIC because of https://github.com/python...
[librarian.git] / src / librarian / elements / front / base.py
1 from ..base import WLElement
2
3
4 class HeaderElement(WLElement):
5     HTML_TAG = 'span'
6     
7     def txt_build(self, builder):
8         builder.enter_fragment('header')
9         super(HeaderElement, self).txt_build(builder)
10         builder.exit_fragment()
11
12     def html_build(self, builder):
13         builder.enter_fragment('header')
14         super(HeaderElement, self).html_build(builder)
15         builder.exit_fragment()