wam: Fix invalid HTML emitted for add-on icon <img> elements
The width/height attributes are always in pixel units. This is not CSS.
This commit is contained in:
parent
86984f0040
commit
73a2e653b7
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ After install the included MP gameplay modification(s) will be available in the
|
|||
<td>Resources<div class="type"><b>miscellaneous content/media</b><br/>
|
||||
Unit packs, terrain packs, music packs, etc. Usually a (perhaps optional) dependency of another add-on.</div></td>""")
|
||||
else: w(('<td>%s</td>') % type)
|
||||
w(('<td><img alt="%s" src="%s" width="72px" height="72px"/>'
|
||||
w(('<td><img alt="%s" src="%s" width="72" height="72"/>'
|
||||
) % (icon, imgurl))
|
||||
described = htmlescape(v("description", "(no description)"))
|
||||
w('<div class="desc"><b>%s</b><pre>%s</pre></div></td>' % (
|
||||
|
|
Loading…
Add table
Reference in a new issue