Content warnings.
[librarian.git] / src / librarian / elements / figures / ilustr.py
index 143132e..ee82b08 100644 (file)
@@ -7,6 +7,6 @@ class Ilustr(WLElement):
     def get_html_attr(self, builder):
         return {
             'src': builder.image_location + self.attrib['src'],
-            'alt': self.attr['alt'],
-            'title': self.attr['alt'],
+            'alt': self.attrib['alt'],
+            'title': self.attrib['alt'],
         }