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'\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'%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('
%s" % note_text else: - text += u"
"
text += u"
".join(note_text.split("\n"))
- text += u"