wam: Drop inline image dimensions as they force small images to be scaled up

This commit is contained in:
Ignacio R. Morelle 2017-08-12 20:35:44 -04:00
parent 79ab196daa
commit 0f171cd364

View file

@ -192,8 +192,7 @@ Unit packs, terrain packs, music packs, etc. Usually a (perhaps optional) depend
else:
w(type)
w('</td>')
w(('<td class="addon-icon"><img alt="" src="%s" width="72" height="72"/>'
) % imgurl)
w(('<td class="addon-icon"><img alt="" src="%s"/>') % imgurl)
described = htmlescape(v("description", "(no description)"))
w('<div class="desc-tooltip"><b>%s</b><pre>%s</pre></div></td>' % (
name, described))