fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make sure Pillow uses ImageFont.LAYOUT_BASIC because of https://github.com/python...
[librarian.git]
/
src
/
librarian
/
elements
/
figures
/
ilustr.py
diff --git
a/src/librarian/elements/figures/ilustr.py
b/src/librarian/elements/figures/ilustr.py
index
bd51453
..
143132e
100644
(file)
--- a/
src/librarian/elements/figures/ilustr.py
+++ b/
src/librarian/elements/figures/ilustr.py
@@
-6,5
+6,7
@@
class Ilustr(WLElement):
def get_html_attr(self, builder):
return {
def get_html_attr(self, builder):
return {
- 'src': builder.image_location + self.attrib['src']
+ 'src': builder.image_location + self.attrib['src'],
+ 'alt': self.attr['alt'],
+ 'title': self.attr['alt'],
}
}