[issue59] Exception loading red-carpet channel

Richard Hendershot at Labix Tracker tracker at labix.org
Fri Apr 7 09:36:14 PDT 2006


Richard Hendershot <rshendershot at mchsi.com> added the comment:

I modified parse() to disallow unicode and it appears to work.  I don't
know enough about this to be certain.  Can someone on the dev team
please examine this change?

---
    def parse(self):
        parser = expat.ParserCreate(namespace_separator=" ")
        parser.StartElementHandler = self.startElement
        parser.EndElementHandler = self.endElement
        parser.CharacterDataHandler = self.charData
        parser.returns_unicode = False

----------
nosy: +rshendershot

_______________________________________
Labix issue tracker <tracker at labix.org>
<http://tracker.labix.org/issue59>
_______________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: redcarpet.py
Type: text/x-python
Size: 9811 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20060407/06ec5b84/attachment-0002.py>


More information about the Smart mailing list