* src/plugins/NarrativeWeb.py: HTML validation fixes

svn: r7026
This commit is contained in:
Brian Matherly 2006-07-13 04:13:19 +00:00
parent 0f9e40c4f2
commit 8df0605b3b
2 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,6 @@
2006-07-07 Brian Matherly <brian@gramps-project.org>
* src/plugins/_CommandLineReport.py: missing import - CustomFilters
2006-07-12 Brian Matherly <brian@gramps-project.org>
* src/ReportBase/_CommandLineReport.py: missing import - CustomFilters
* src/plugins/NarrativeWeb.py: HTML validation fixes
2006-07-12 Don Allingham <don@gramps-project.org>
* src/Filters/Rules/Family/_RegExpIdOf.py: new family filter

View File

@ -592,7 +592,7 @@ class IndividualListPage(BasePage):
if first:
of.write('<a name="%s">%s</a>' % (self.lnkfmt(surname),surname))
else:
of.write('&nbsp')
of.write('&nbsp;')
of.write('</td><td class="data">')
path = self.build_path(person.handle,"ppl",False)
self.person_link(of, self.build_name(path,person.handle),
@ -1445,7 +1445,7 @@ class IndividualPage(BasePage):
of.write('<div id="tree">\n')
of.write('<h4>%s</h4>\n' % _('Ancestors'))
of.write('<div style="position: relative;" align="left">\n')
of.write('<div style="position: relative;">\n')
generations = self.graphgens
@ -1454,6 +1454,7 @@ class IndividualPage(BasePage):
center = int(max_size/2)
self.draw_tree(of,1,generations,max_size,0,center,self.person.handle)
of.write('</div>\n')
of.write('</div>\n')
of.write('<table style="height: %dpx; width: %dx;"><tr><td></td></tr></table>\n' %
(max_size,XOFFSET+(generations)*WIDTH+(generations-1)*HGAP))