* src/docgen/PdfDoc.py (write_text): Close <br/> tag.

svn: r8214
This commit is contained in:
Alex Roitman 2007-02-23 01:57:28 +00:00
parent 833b8d88ea
commit 59c2affe2d
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
2007-02-22 Alex Roitman <shura@gramps-project.org> 2007-02-22 Alex Roitman <shura@gramps-project.org>
* src/docgen/PdfDoc.py (write_text): Close <br/> tag.
* src/GrampsDb/_GrampsBSDDB.py (reindex_reference_map): Typo. * src/GrampsDb/_GrampsBSDDB.py (reindex_reference_map): Typo.
2007-02-19 Brian Matherly <brian@gramps-project.org> 2007-02-19 Brian Matherly <brian@gramps-project.org>

View File

@ -405,7 +405,7 @@ class PdfDoc(BaseDoc.BaseDoc):
text = text.replace('>','&gt;') text = text.replace('>','&gt;')
text = text.replace('&lt;super&gt;',self.super) text = text.replace('&lt;super&gt;',self.super)
text = text.replace('&lt;/super&gt;','</super></font>') text = text.replace('&lt;/super&gt;','</super></font>')
self.text = self.text + text.replace('\n','<br>') self.text = self.text + text.replace('\n','<br/>')
def start_page(self): def start_page(self):
x = self.get_usable_width()*cm x = self.get_usable_width()*cm