1. Łukasz Fidosz
  2. WebHelpers

Commits

Łukasz Fidosz  committed b719c3a

added comment about escaping

  • Participants
  • Parent commits 1ab157c
  • Branches trunk

Comments (0)

Files changed (1)

File webhelpers/feedgenerator.py

View file
                 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)