diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 8acf48e16..c2ba7f5b0 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -363,17 +363,16 @@ class BasePage: of.write('\n') - of.write('\n' % (xmllang, xmllang)) + of.write('\n' % (xmllang, xmllang)) of.write('\n') of.write('\t%s - %s\n' % (html_escape(self.title_str), html_escape(title))) - of.write('\t\n' % self.report.encoding) - of.write('\t\n') - of.write('\t\n') + of.write('\t\n' + % self.report.encoding) + of.write('\t\n' % + (const.PROGRAM_NAME, const.VERSION, const.URL_HOMEPAGE)) of.write('\t\n' % self.author) # Link to screen stylesheet @@ -385,7 +384,7 @@ class BasePage: # Link to printer stylesheet fname = os.path.join("styles", "Web_Print-Default.css") url = self.report.build_url_fname(fname, None, self.up) - of.write(' \n' % url) # Link to GRAMPS favicon diff --git a/src/plugins/webreport/WebCal.py b/src/plugins/webreport/WebCal.py index 6769bcedd..5db297bbc 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -685,15 +685,15 @@ class WebCalReport(Report): of.write('\n') - of.write('\n' % (xmllang, xmllang)) + of.write('\n' % (xmllang, xmllang)) of.write('\n') of.write('\t%s\n\n' % title) of.write('\t\n' % self.encoding) - of.write('\t\n') - of.write('\t\n') + of.write('\t\n' % + (const.PROGRAM_NAME, const.VERSION, const.URL_HOMEPAGE)) of.write('\t\n\n' % self.author) subdirs = ['..'] * nr_up