comparison examples/tutorial/geddit/templates/_comment.html @ 631:e990fa05d80b trunk

GenshiTutorial: implement the XSS section.
author cmlenz
date Tue, 04 Sep 2007 19:20:46 +0000
parents abad7c2ebe15
children
comparison
equal deleted inserted replaced
630:d03e876d9a61 631:e990fa05d80b
1 <?python from genshi import HTML ?>
1 <li id="comment$num"> 2 <li id="comment$num">
2 <strong>${comment.username}</strong> at ${comment.time.strftime('%x %X')} 3 <strong>${comment.username}</strong> at ${comment.time.strftime('%x %X')}
3 <blockquote>${comment.content}</blockquote> 4 <blockquote>${HTML(comment.content)}</blockquote>
4 </li> 5 </li>
Copyright (C) 2012-2017 Edgewall Software