Mercurial > genshi > mirror
view examples/cherrypy/index.html @ 280:ce848f7c41f1 trunk
The content of `<script>` and `<style>` elements is no longer escaped when serializing to HTML but declaring the XHTML namespace in the template.
author | cmlenz |
---|---|
date | Sat, 07 Oct 2006 19:18:05 +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>