The mystery continues. Take this simple bit of markup:
<style type="text/css" tal:define="logo webhelpers/sector_logo" tal:condition="python:logo"> #navigation li#home { background: url(<tal:block replace="logo"/>) no-repeat; } </style>
the rendered output of that is:
<style type="text/css"> #navigation li#home { background: url(<tal:block replace="logo"/>) no-repeat; } </style>
For some reason the TAL statement is not executed.
The mystery continues. Take this simple bit of markup:
<style type="text/css" tal:define="logo webhelpers/ sector_ logo" tal:condition= "python: logo">
background: url(<tal:block replace="logo"/>) no-repeat;
#navigation li#home {
}
</style>
the rendered output of that is:
<style type="text/css">
background: url(<tal:block replace="logo"/>) no-repeat;
#navigation li#home {
}
</style>
For some reason the TAL statement is not executed.