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

@ -1064,7 +1064,7 @@ class ODFDoc(BaseDoc, TextDoc, DrawDoc):
if len(alt):
self.cntnt.write(
'%s' % alt +
'%s' % '<text:line-break/>'.join(alt) +
'</text:p>' +
'</draw:text-box>' +
'</draw:frame>'