view examples/tutorial/geddit/templates/_comment.html @ 631:e414dc0bca5c

GenshiTutorial: implement the XSS section.
author cmlenz
date Tue, 04 Sep 2007 19:20:46 +0000
parents dba522b4c31d
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>
Copyright (C) 2012-2017 Edgewall Software