Edgewall Software

Changes between Initial Version and Version 2 of Ticket #428


Ignore:
Timestamp:
May 26, 2011, 11:21:04 PM (13 years ago)
Author:
cboos
Comment:

Works for me, Python 2.7 on Windows and Genshi 0.6 (and other combinations).

Can you please give more details about your version of Python and Genshi?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #428 – Description

    initial v2  
    11This is the code I'm running in the Python interpreter from the Documentation:
    2 
     2{{{
     3#!pycon
    34>>> from genshi.template import MarkupTemplate
    45>>> tmpl = MarkupTemplate('''<ul xmlns:py="http://genshi.edgewall.org/">
     
    910  <li>1</li><li>2</li><li>3</li>
    1011</ul>
    11 
    12 And I'm getting an UndefinedError for the variable item. If I force lenient mode, the template simply does not evaluate.
     12}}}
     13And I'm getting an !UndefinedError for the variable item. If I force lenient mode, the template simply does not evaluate.