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

@ -1413,7 +1413,7 @@ links (like ODF) and write PDF from that format.
else:
style.set_right_margin(self.get_usable_width() - new_image._width)
new_paragraph = GtkDocParagraph(style)
new_paragraph.add_text(alt)
new_paragraph.add_text('\n'.join(alt))
self._active_element.add_child(new_paragraph)
# DrawDoc implementation