4305: again for mimeless images

svn: r18132
This commit is contained in:
Michiel Nauta 2011-09-09 19:32:04 +00:00
parent 281ebad8c2
commit 0598a33ee2

View File

@ -1891,7 +1891,8 @@ class BasePage(object):
hyper += Html("img", src = url, alt = html_escape(name), title = html_escape(name))
if usedescr:
hyper += Html("p", html_escape(name), inline = True)
hyper += Html('br')
hyper += Html("span", html_escape(name), inline = True)
# return thumbnail division to its callers
return thumbnail