4305: again for mimeless images

svn: r18131
This commit is contained in:
Michiel Nauta 2011-09-09 19:31:17 +00:00
parent c0f3cf1084
commit 5bf9b8217e

View File

@ -2111,7 +2111,8 @@ class BasePage(object):
hyper += Html("img", src = url, alt = html_escape(name), title = html_escape(name)) hyper += Html("img", src = url, alt = html_escape(name), title = html_escape(name))
if usedescr: 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 division to its callers
return thumbnail return thumbnail