diff --git a/src/plugins/NarrativeWeb.py b/src/plugins/NarrativeWeb.py index 00bf23dd1..a5a2cfe2a 100644 --- a/src/plugins/NarrativeWeb.py +++ b/src/plugins/NarrativeWeb.py @@ -630,7 +630,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') @@ -1563,12 +1563,9 @@ class IntroductionPage(BasePage): note_obj = db.get_note_from_gramps_id(note_id) text = note_obj.get(markup=True) 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,db) self.close_file(of) @@ -1611,12 +1608,9 @@ class HomePage(BasePage): note_obj = db.get_note_from_gramps_id(note_id) text = note_obj.get(markup=True) 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,db) self.close_file(of) @@ -2455,7 +2449,7 @@ class IndividualPage(BasePage): if format: of.write(u"
%s
" % text ) else: - 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') @@ -2554,9 +2548,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):