* src/docgen/RTFDoc.py: Properly escape "\n" characters
svn: r7978
This commit is contained in:
parent
65b2a318a6
commit
12779769fa
@ -3,6 +3,7 @@
|
|||||||
* src/docgen/OpenOfficeDoc.py: Add "open with" option for book reports
|
* src/docgen/OpenOfficeDoc.py: Add "open with" option for book reports
|
||||||
* src/plugins/BookReport.py: Add "open with" option for book reports
|
* src/plugins/BookReport.py: Add "open with" option for book reports
|
||||||
* src/PluginUtils/_PluginMgr.py: Add "open with" option for book reports
|
* src/PluginUtils/_PluginMgr.py: Add "open with" option for book reports
|
||||||
|
* src/docgen/RTFDoc.py: Properly escape "\n" characters
|
||||||
|
|
||||||
2007-01-24 Douglas Blank <dblank@cs.brynmawr.edu>
|
2007-01-24 Douglas Blank <dblank@cs.brynmawr.edu>
|
||||||
* src/plugins/Calendar.py: 0000871: Holidays do not work in Windows
|
* src/plugins/Calendar.py: 0000871: Holidays do not work in Windows
|
||||||
|
@ -410,6 +410,7 @@ class RTFDoc(BaseDoc.BaseDoc):
|
|||||||
#
|
#
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
def write_text(self,text,mark=None):
|
def write_text(self,text,mark=None):
|
||||||
|
text = text.replace('\n','\n\\par ')
|
||||||
if self.opened == 0:
|
if self.opened == 0:
|
||||||
self.opened = 1
|
self.opened = 1
|
||||||
self.text = self.text + '{%s ' % self.font_type
|
self.text = self.text + '{%s ' % self.font_type
|
||||||
|
Loading…
Reference in New Issue
Block a user