diff --git a/src/plugins/NarrativeWeb.py b/src/plugins/NarrativeWeb.py index a1b133d6b..2a43bff8d 100644 --- a/src/plugins/NarrativeWeb.py +++ b/src/plugins/NarrativeWeb.py @@ -521,7 +521,7 @@ class BasePage: if format: text = u"
%s
" % text else: - text = u"

\n\t\t

".join(text.split("\n")) + text = u"
".join(text.split("\n")) of.write('\t\t

%s

\n' % text) of.write('\t\n\n') @@ -1415,12 +1415,9 @@ class IntroductionPage(BasePage): note_obj = db.get_note_from_gramps_id(note_id) text = note_obj.get() if note_obj.get_format(): - of.write('\t
\n%s\n' % text)
-                of.write('\t
\n') + of.write(u'\t
%s
\n' % text) else: - of.write('\t

') - of.write(u'

\n\t

'.join(text.split("\n"))) - of.write('

\n') + of.write(u'
'.join(text.split("\n"))) self.display_footer(of) self.report.close_file(of) @@ -1443,12 +1440,9 @@ class HomePage(BasePage): note_obj = db.get_note_from_gramps_id(note_id) text = note_obj.get() if note_obj.get_format(): - of.write('\t
\n%s\n' % text)
-                of.write('\t
\n') + of.write(u'\t
%s
' % text) else: - of.write('\t

') - of.write(u'

\n\t

'.join(text.split("\n"))) - of.write('

\n') + of.write(u'
'.join(text.split("\n"))) self.display_footer(of) self.report.close_file(of) @@ -2256,8 +2250,7 @@ class IndividualPage(BasePage): if format: of.write(u"
%s
" % text ) else: - # TODO. Verify that

is correct here. - of.write(u"

\n\t\t\t\t\t

".join(text.split("\n"))) + of.write(u"
".join(text.split("\n"))) of.write('

\n') of.write('\t\t\t\t\n') of.write('\t\t\t\n') @@ -2350,9 +2343,7 @@ class IndividualPage(BasePage): if format: text += u"
%s
" % note_text else: - text += u"

" text += u"
".join(note_text.split("\n")) - text += u"

" return text def get_citation_links(self, source_ref_list):