Support for natural find
svn: r1230
This commit is contained in:
@@ -386,9 +386,12 @@ class HtmlDoc(TextDoc):
|
||||
self.f.write('</p>\n')
|
||||
|
||||
def write_text(self,text):
|
||||
text = string.replace(text,'&','&'); # Must be first
|
||||
text = string.replace(text,'<','<');
|
||||
text = string.replace(text,'>','>');
|
||||
text = string.replace(text,'\n','<br>')
|
||||
if text != "":
|
||||
self.empty = 0
|
||||
text = string.replace(text,'\n','<br>')
|
||||
self.f.write(text)
|
||||
|
||||
Plugins.register_text_doc(_("HTML"),HtmlDoc,1,0,1)
|
||||
|
||||
Reference in New Issue
Block a user