Mercurial > genshi > mirror
view examples/tutorial/geddit/templates/_comment.html @ 803:f8ca33751678 trunk
`for` loops in template code blocks should not establish their own locals block. Closes #259.
author | cmlenz |
---|---|
date | Thu, 05 Mar 2009 10:05:12 +0000 |
parents | e990fa05d80b |
children |
line wrap: on
line source
<?python from genshi import HTML ?> <li id="comment$num"> <strong>${comment.username}</strong> at ${comment.time.strftime('%x %X')} <blockquote>${HTML(comment.content)}</blockquote> </li>