5317: Multi-line photo captions are not rendered correctly in output reports

patch from Adam Stein <adam@csh.rit.edu>


svn: r18760
This commit is contained in:
Paul Franklin
2012-01-22 04:03:29 +00:00
parent 927ea35db7
commit e5a490d5da
4 changed files with 6 additions and 3 deletions

View File

@ -546,6 +546,9 @@ class HtmlDoc(BaseDoc, TextDoc):
{'name' : name})
return
if len(alt):
alt = '<br />'.join(alt)
if pos not in ["right", "left"] :
if len(alt):
self.htmllist[-1] += Html('div') + (