Edgewall Software

Changeset 1103 for trunk


Ignore:
Timestamp:
Apr 15, 2010, 11:44:28 PM (13 years ago)
Author:
cmlenz
Message:

Default XInclude-included template class to the class of the including template. Closes #302.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/genshi/template/markup.py

    r1099 r1103  
    244244                            'xml': MarkupTemplate,
    245245                            'text': NewTextTemplate
    246                         }[parse or 'xml']
     246                        }.get(parse) or self.__class__
    247247                    except KeyError:
    248248                        raise TemplateSyntaxError('Invalid value for "parse" '
Note: See TracChangeset for help on using the changeset viewer.