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'\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: - 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"