/[opental]/opental/OpenPT/Zpax.py
ViewVC logotype

Diff of /opental/OpenPT/Zpax.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by lalo, Fri Feb 21 18:37:05 2003 UTC revision 1.3 by lalo, Sun Apr 13 13:03:15 2003 UTC
# Line 39  class Broken_HTML_Element(Element): Line 39  class Broken_HTML_Element(Element):
39    
40  class Raw_HTML_Element(Element):  class Raw_HTML_Element(Element):
41      def __children_xml__(self, prefix, ns_map):      def __children_xml__(self, prefix, ns_map):
42          return u'>' + u''.join(self) + u'</' + prefix + self.name + u'>'          try:
43                return u'>' + u''.join([str(child) for child in self]) + u'</' + prefix + self.name + u'>'
44            except:
45                raise 'Render error on ' + self.raw.encode('latin1', 'replace')
46    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26