Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /leo/plugins/

leo
Discussion topic

Back to topic list

CVS update: /leo/plugins/

Author terry_n_brown
Full name Terry Brown
Date 2006-10-04 10:27:13 PDT
Message User: terry_n_brown
Date: 2006-10-04 10:27:13-0700
Modified:
   leo/plugins/leoOPML.py
   leo/plugins/leoOPML.leo

Log:
 Submitted by: Terry Brown
 
 Ooops, forgot to replace xmlEscape with xml.sax.saxutils.escape

File Changes:

Directory: /leo/plugins/
========================

File [changed]: leoOPML.py
Url: http://leo.tigris.or​g/source/browse/leo/​plugins/leoOPML.py?r​1=1.23&r2=1.24
Delta lines: +2 -2
-------------------
--- leoOPML.py 2006-10-04 10:12:49-0700 1.23
+++ leoOPML.py 2006-10-04 10:27:11-0700 1.24
@@ -296,7 +296,7 @@
         if body and self.opml_write_body_text:
             if self.opml_use_outline_elements:
                 self.put('>') ; closed = True
- self.put('<leo:bo​dy>%s</leo:bod​y>' % self.xmlEscape(body))
+ self.put('<leo:bo​dy>%s</leo:bod​y>' % xml.sax.saxutils.escape(body))
             else:
                 self.put(attrFormat % ('leo:body',self.att​ributeEscape(body)))​
     
@@ -315,7 +315,7 @@
     #@+node:ekr.20060919​172012.7:attributeEs​cape
     def attributeEscape(self,s):
     
- # Unlike xmlEscape, replace " by &quot; and replace newlines by character reference.
+ # Unlike xml.sax.saxutils.escape, replace " by &quot; and replace newlines by character reference.
         s = s or ''
         return (
             s.replace('&','&amp;')

File [changed]: leoOPML.leo
Url: http://leo.tigris.or​g/source/browse/leo/​plugins/leoOPML.leo?​r1=1.23&r2=1.24
Delta lines: +1 -1
-------------------
--- leoOPML.leo 2006-10-04 10:12:49-0700 1.23
+++ leoOPML.leo 2006-10-04 10:27:11-0700 1.24
@@ -10,7 +10,7 @@
 <find_panel_settings/>
 <vnodes>
 <v t="ekr.20060904103412" a="E"
-expanded="ekr.20060​904134958.164,ekr.20​060904134958.179,ekr​.20060904134958.180,​ekr.20060917190349,"​><vh>@thin leoOPML.py</vh></v>
+expanded="ekr.20060​919172012.1,ekr.2006​0919172012.2,">​<vh>@thin leoOPML.py</vh></v>
 </vnodes>
 <tnodes>
 </tnodes>

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /leo/plugins/ terry_n_brown Terry Brown 2006-10-04 10:27:13 PDT
Messages per page: