Experimental DAISY builder.
[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.image_location + self.attrib['src'],
10             'alt': self.attr['alt'],
11             'title': self.attr['alt'],
12         }