@ gets encoded within CDATA
Simon Rönnqvist <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Hi!
When I tried linking the stylesheet so that it wouldn't be applied by
Netscape 4, I bumped into the following problem.
How I did it in master.xsl:
<style type="text/css" media="all">@import "{$webroot}themes/{$theme}/
css/{$themeCss}";</style>
How it came out to the browser:
<style type="text/css" media="all">
/*<![CDATA[*/
@import "{$webroot}themes/{$theme}/css/{$themeCss}";
/*]]>*/
</style>
What happends is that @ gets encoded, so that the browsers don't
understand the code any more.
cheers, Simon
--
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms