3c3026ca5fe4ca1d1d437217d48ad6c43bf5aa57
[librarian.git] / src / librarian / elements / figures / ilustr.py
1 from ..base import WLElement
2
3
4 class Ilustr(WLElement):
5     HTML_TAG = 'img'
6
7     def get_html_attr(self, builder):
8         return {
9             'src': builder.base_url + self.attrib['src'],
10             'alt': self.attrib['alt'],
11             'title': self.attrib['alt'],
12         }