Changeset 3114:0d4431d2ad3a in livinglogic.python.xist

Show
Ignore:
Timestamp:
01/06/08 00:52:00 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Add handling of problematic sections (by passing the content through).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/ns/doc.py

    r3112 r3114  
    15591559        elif isinstance(node, nodes.Text): 
    15601560            return xsc.Text(node.astext()) 
     1561        elif isinstance(node, nodes.problematic): 
     1562            # We don't do anything about this 
     1563            return xsc.Frag(self.convert(child) for child in node.children) 
    15611564        elif isinstance(node, nodes.section): 
    15621565            return section(self.convert(child) for child in node.children)