ee82b08fb40851c238c0082685be9c0f5041f0a3
[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.attrib['alt'],
11             'title': self.attrib['alt'],
12         }