[zope2-tracker] [Bug 452259] Re: TAL blocks inside <style> result in parse error

Wichert Akkerman wichert at wiggy.net
Thu Oct 15 12:02:46 EDT 2009


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.

-- 
TAL blocks inside <style> result in parse error
https://bugs.launchpad.net/bugs/452259
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list