bug report #2234; notes should be separated from the previous text to which they apply; merged from gramps30

svn: r10824
This commit is contained in:
Stéphane Charette
2008-06-21 08:42:31 +00:00
parent ae5ba9a180
commit ae2a2917c4
9 changed files with 42 additions and 0 deletions

View File

@@ -2430,11 +2430,13 @@ class IndividualPage(BasePage):
note_text = note.get()
format = note.get_format()
if note_text:
text += u'\n\t\t\t\t\t<p class="EventNote">\n\t\t\t\t\t'
if format:
text += u"<pre>%s</pre>" % note_text
else:
text += "<br />"
text += u"<br />".join(note_text.split("\n"))
text += u'\n\t\t\t\t\t</p>\n\t\t\t\t'
return text
def get_citation_links(self, source_ref_list):