Pedro Algarvio, aka, s0undt3ch wrote:
> Another Prob. I tried:
> 
> =============== SNIP ==================
> <head py:match="head">
>   ${ h.javascript_include_tag('/javascripts/effects.js', builtins=True) }
>   ${ h.javascript_include_tag('/js/ispmanccp.js') }
> 
>   ${ h.stylesheet_link_tag('/style/main.css') }
>   ${ page_specific_css }
> </head>
> =============== SNIP END ==================
> 
> and the output is:
> =============== SNIP ==================
> <head>
>   &lt;script src="/javascripts/prototype.js"
> type="text/javascript"&gt;&lt;/script&gt;
> 
> &lt;script src="/javascripts/scriptaculous.js"
> type="text/javascript"&gt;&lt;/script&gt;
> &lt;script src="/javascripts/effects.js"
> type="text/javascript"&gt;&lt;/script&gt;
>   &lt;script src="/js/ispmanccp.js"
> type="text/javascript"&gt;&lt;/script&gt;
>   &lt;link href="/style/main.css" media="screen" rel="Stylesheet"
> type="text/css" /&gt;
> </head>
> 
> =============== SNIP END ==================
> 
> So the stream escaped <, >, how do I stop that?
> 

AFAICT, you'd need to wrap the HTML strings generated by helpers into
genshi.core.Markup objects - cf:
http://genshi.edgewall.org/wiki/GenshiFaq#HowcanIincludeliteralXMLintemplateoutput

HTH
-- 
bruno desthuilliers
développeur
[EMAIL PROTECTED]
http://www.modulix.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to