view examples/bench/mako/header.html @ 949:8bc6f32fdd45 trunk

Improve sanitizing of CSS in style attributes (note that the Genshi documentation already warns users that enabling the style attribute is dangerous -- now it is slightly less dangerous). Fixes #455. Patch taken from jomae's Trac commit trac:r10788 and modified for Genshi -- thanks!
author hodgestar
date Fri, 02 Sep 2011 22:01:42 +0000
parents 0449396999c5
children
line wrap: on
line source
<div id="header">
  <h1>${title | h}</h1>
</div>

Copyright (C) 2012-2017 Edgewall Software