Changeset 1896:1a4d886856cd in livinglogic.python.xist

Show
Ignore:
Timestamp:
07/10/03 19:57:55 (17 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Fix a bug in title: Now html elements are correctly unpacked again.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • _xist/ns/html.py

    r1824 r1896  
    163163 
    164164    def unwrapHTML(self, node, converter): 
    165         if isinstance(node, xsc.Element) and node.xmlns is html: # is this one of our own elements => filter it out 
     165        if isinstance(node, xsc.Element) and issubclass(node.xmlns, xmlns): # is this one of our own elements => filter it out 
    166166            if isinstance(node, img): 
    167167                node = node["alt"]