gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: jakarta-gump/python/gump document.py
Date Mon, 13 Oct 2003 20:34:48 GMT
ajack       2003/10/13 13:34:48

  Modified:    python/gump document.py
  Log:
  Escape description (e.g. 'cos XMLBeans has <-> in it...)
  
  Revision  Changes    Path
  1.70      +1 -1      jakarta-gump/python/gump/document.py
  
  Index: document.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/document.py,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -r1.69 -r1.70
  --- document.py	13 Oct 2003 18:51:20 -0000	1.69
  +++ document.py	13 Oct 2003 20:34:48 -0000	1.70
  @@ -1264,7 +1264,7 @@
       f.write('    <section><title>%s</title>\n' % (title))
       
   def paragraphXDoc(f, content):
  -    f.write('    <p>%s</p>\n' % (content))
  +    f.write('    <p>%s</p>\n' % (escape(content)))
       
   def endSectionXDoc(f):
       f.write('    </section>\n')
  
  
  

Mime
View raw message