* src/docgen/RTFDoc.py: Properly escape "\n" characters
svn: r7978
This commit is contained in:
parent
0bc7ae7731
commit
3451ed3e5e
@ -3,6 +3,7 @@
|
||||
* src/docgen/OpenOfficeDoc.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/docgen/RTFDoc.py: Properly escape "\n" characters
|
||||
|
||||
2007-01-24 Douglas Blank <dblank@cs.brynmawr.edu>
|
||||
* 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):
|
||||
text = text.replace('\n','\n\\par ')
|
||||
if self.opened == 0:
|
||||
self.opened = 1
|
||||
self.text = self.text + '{%s ' % self.font_type
|
||||
|
Loading…
Reference in New Issue
Block a user