Re: @ gets encoded within CDATA

Simon Rönnqvist <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>
On Tuesday 22 November 2005 09:00, Christian Stocker wrote:
> On 22.11.2005 1:59 Uhr, Simon Rönnqvist wrote:
> >   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[*/
> > &#64;import "{$webroot}themes/{$theme}/css/{$themeCss}";
> > /*]]>*/
> > </style>
> >
> > What happends is that @ gets encoded, so that the browsers don't
> > understand the code any more.
>
> That was a flaw in our email-obfuscator :) It's fixed on my harddrive
> and I will commit it, as soon as I'm online.
>
> chregu

  Hi!

Another problem which I didn't notice, even though one could figure it out 
from the last mail is that the variables don't get handled. The output is 
now:
<style type="text/css" media="screen">
/*<![CDATA[*/
@import "{$webroot}themes/{$theme}/css/{$themeCss}";
/*]]>*/
</style>


  cheers, Simon
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.