Mercurial > genshi > genshi-test
diff examples/turbogears/genshitest/templates/sitetemplate.html @ 247:b8932429dbd0
the TG <body> match templates should also select text nodes to output
author | mgood |
---|---|
date | Thu, 14 Sep 2006 17:32:55 +0000 |
parents | 24757b771651 |
children |
line wrap: on
line diff
--- a/examples/turbogears/genshitest/templates/sitetemplate.html +++ b/examples/turbogears/genshitest/templates/sitetemplate.html @@ -8,11 +8,11 @@ <title py:replace="''">Your title goes here</title> <link py:for="css in tg_css" py:replace="ET(css.display())" /> <link py:for="js in tg_js_head" py:replace="ET(js.display())" /> - ${select('*')} + <meta py:replace="select('*')" /> </head> <body py:match="body" py:attrs="select('@*')"> <div py:for="js in tg_js_bodytop" py:replace="ET(js.display())" /> - ${select('*')} + <div py:replace="select('*|text()')" /> <div py:for="js in tg_js_bodybottom" py:replace="ET(js.display())" /> </body> </html>