class HeaderElement(WLElement):
+ NUMBERING = 'i'
HTML_TAG = 'span'
- SHOULD_HAVE_ID = True
+ FB2_TAG = 'p'
def txt_build(self, builder):
builder.enter_fragment('header')
- super(HeaderElement, self).txt_build(builder)
+ super().txt_build(builder)
builder.exit_fragment()
def html_build(self, builder):
builder.enter_fragment('header')
- super(HeaderElement, self).html_build(builder)
+ super().html_build(builder)
+ builder.exit_fragment()
+
+ def fb2_build(self, builder):
+ builder.enter_fragment('header')
+ super().fb2_build(builder)
builder.exit_fragment()