diff --git a/ChangeLog b/ChangeLog index b3423c934..8789b28a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-04-19 Brian Matherly + * src/docgen/ODFDoc.py: PROPERLY escape ampersands + 2007-04-18 Don Allingham * src/plugins/BookReport.py: escape xml constructs (bug 877) * src/PluginUtils/_Options.py: escape xml constructs (bug 877) diff --git a/src/docgen/ODFDoc.py b/src/docgen/ODFDoc.py index 95b06db8f..0ee6ae868 100644 --- a/src/docgen/ODFDoc.py +++ b/src/docgen/ODFDoc.py @@ -995,7 +995,7 @@ class ODFDoc(BaseDoc.BaseDoc): self.cntnt.write(' ' % pname) self.cntnt.write('\n' % pname) - self.write_text('\n'.join(escape(text))) + self.write_text(escape('\n'.join(text))) self.cntnt.write('\n\n\n') self.cntnt.write('\n')