Mercurial > genshi > mirror
view examples/cherrypy/index.html @ 311:8de1ff534d22 trunk
* The `HTMLParser` class and the `HTML` function now accept an `encoding` parameter to properly deal with bytestring input (defaults to UTF-8).
* The `TemplateLoader` class can now also be initialized from a string for the search path, for cases where the search path contains only a single directory.
author | cmlenz |
---|---|
date | Sun, 22 Oct 2006 14:57:40 +0000 |
parents | 8a13cbab435e |
children |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" xmlns:xi="http://www.w3.org/2001/XInclude" lang="en"> <body> <span class="greeting">Hello, ${name}!</span> </body> </html>