Broke the Editors into separate classes

svn: r464
This commit is contained in:
Don Allingham
2001-10-14 02:25:58 +00:00
parent 4e90da3aa3
commit 0f21f2b76e
16 changed files with 1391 additions and 1708 deletions

View File

@@ -174,7 +174,10 @@ class AbiWordDoc(TextDoc):
self.f.write('</c></p>\n')
def write_text(self,text):
self.f.write(text)
text = string.replace(text,'&','&amp;'); # Must be first
text = string.replace(text,'<','&lt;');
text = string.replace(text,'>','&gt;');
self.f.write(text)
def start_bold(self):
font = self.current_style.get_font()