Commits

Anonymous committed b719c3a

added comment about escaping

Comments (0)

Files changed (1)

webhelpers/feedgenerator.py

                 handler.startElement('summary', {'type': 'xhtml'})
                 handler.startPrefixMapping(None, self.xhtml_namespace)
                 handler.startElementNS((self.xhtml_namespace, 'div'), None, {})
+                # to disabable escaping xhtml inside(we don't want to parse it)
                 handler.ignorableWhitespace(item['description'])
                 handler.endElementNS((self.xhtml_namespace, 'div'), None)
                 handler.endPrefixMapping(None)