Images: image@src is a URL, and image sizes are limited.
[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         }