* src/docgen/HtmlDoc.py (write_note): Use stypes for preformatted note.
svn: r2506
This commit is contained in:
parent
2ba0326dc5
commit
daeaf138e9
@ -1,5 +1,6 @@
|
|||||||
2003-12-11 Alex Roitman <shura@alex.neuro.umn.edu>
|
2003-12-11 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||||
* src/docgen/PdfDoc.py (draw_text): Remove extra ",".
|
* src/docgen/PdfDoc.py (draw_text): Remove extra ",".
|
||||||
|
* src/docgen/HtmlDoc.py (write_note): Use stypes for preformatted note.
|
||||||
|
|
||||||
2003-12-10 Don Allingham <dallingham@users.sourceforge.net>
|
2003-12-10 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
* src/GrampsCfg.py: Make sure to return "BOTH" if the gnome
|
* src/GrampsCfg.py: Make sure to return "BOTH" if the gnome
|
||||||
|
@ -437,11 +437,9 @@ class HtmlDoc(BaseDoc.BaseDoc):
|
|||||||
|
|
||||||
def write_note(self,text,format,style_name):
|
def write_note(self,text,format,style_name):
|
||||||
if format == 1:
|
if format == 1:
|
||||||
self.start_paragraph(style_name)
|
self.f.write('<pre class=%s>' % style_name)
|
||||||
self.f.write('<pre>')
|
|
||||||
self.write_text(text)
|
self.write_text(text)
|
||||||
self.f.write('</pre>')
|
self.f.write('</pre>')
|
||||||
self.end_paragraph()
|
|
||||||
elif format == 0:
|
elif format == 0:
|
||||||
for line in text.split('\n\n'):
|
for line in text.split('\n\n'):
|
||||||
self.start_paragraph(style_name)
|
self.start_paragraph(style_name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user