[PHPTAL] Stupid Newbie Question

Werner lists at mollentze.co.za
Tue Nov 28 22:29:38 CET 2006


Hi Again,

Sorry to have wasted bandwidth - I found my problem - invalid XML. 
Putting the style declaration inside a CDATA section fixes the problem. 
It helps when actually using XML when working with XM :-)

Kind Regards,
Werner



Werner wrote:
> Hi
>
> I recently discovered PHPTAL, and I would like to thank everyone 
> involved with the project. It is simply fantastic, even for an old 
> Smarty guy like me :-)
>
> I don't want to waste your time, but I have a real stupid newbie 
> question...
>
> In my XHTML template I have the following commonly-used source:
>    <style type="text/css">@import url("css/screen.css");</style>
>
> When the template is executed by PHPTAL, the quotes are transformed to 
> named entities:
>    <style type="text/css">@import 
> url(&quot;css/screen.css&quot;);</style>
>
> Obviously, this is not what I had in mind.
>
> How can I keep the XHTML source quotes intact?
>
> (This is probably a common newbie question about PHPTAL, I suppose?)
>
> Thank you for your time,
> Werner
>
> _______________________________________________
> PHPTAL mailing list
> PHPTAL at lists.motion-twin.com
> http://lists.motion-twin.com/mailman/listinfo/phptal
>




More information about the PHPTAL mailing list