Mercurial > genshi > mirror
changeset 432:406915754870 trunk
* Updated change log
* Updated CherryPy example to 3.0
author | cmlenz |
---|---|
date | Thu, 22 Mar 2007 18:54:09 +0000 |
parents | ad01564e87f2 |
children | bc430fd7c54d |
files | ChangeLog examples/cherrypy/index.py |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -47,6 +47,9 @@ members, you now get an exception. If a variable is not necessarily defined at the top level of the template data, the new built-in functions `defined(name)` and `value_of(name, default)` need to be used. + * `style` attributes are no longer allowed by the `HTMLSanitizer` by default. + If it is explicitly added to the set of safe attributes, and unicode escapes + in the attribute value are handled correctly. Version 0.3.6
--- a/examples/cherrypy/index.py +++ b/examples/cherrypy/index.py @@ -15,8 +15,5 @@ return tmpl.generate(name='world').render('xhtml') -cherrypy.root = Example() - if __name__ == '__main__': - cherrypy.config.update(file='config.txt') - cherrypy.server.start() + cherrypy.quickstart(Example(), config='config.txt')