7 messages in com.googlegroups.pylons-discussRe: Mako escaping javascript/styleshe...
FromSent OnAttachments
Devin Torres25 Apr 2008 13:22 
Devin Torres25 Apr 2008 13:28 
Jorge Vargas25 Apr 2008 13:33 
Ben Bangert25 Apr 2008 13:37 
Devin Torres25 Apr 2008 13:58 
Ben Bangert25 Apr 2008 14:09 
Devin Torres25 Apr 2008 14:15 
Subject:Re: Mako escaping javascript/stylesheet WebHelpers
From:Jorge Vargas (jorg@gmail.com)
Date:04/25/2008 01:33:56 PM
List:com.googlegroups.pylons-discuss

On Fri, Apr 25, 2008 at 4:29 PM, Devin Torres <devi@gmail.com> wrote:

Nevermind. It seems there was a bug in Mako.

It never needed the filter syntax before, but changing it to this did the
trick:

${ h.stylesheet_link_tag('blueprint/src/reset.css', 'blueprint/src/typography.css', 'blueprint/src/grid.css', 'blueprint/src/forms.css', 'blueprint/plugins/css-classes/css-classes.css', media="screen,
projection", minified=True,
combined=True) | n }

in which version is this? I'm running the above and I'm not needing what your saying.

On Fri, Apr 25, 2008 at 3:22 PM, Devin Torres <devi@gmail.com> wrote:

This used to work. ${ h.stylesheet_link_tag('blueprint/src/reset.css', 'blueprint/src/typography.css', 'blueprint/src/grid.css', 'blueprint/src/forms.css', 'blueprint/plugins/css-classes/css-classes.css', media="screen,
projection", minified=True,
combined=True) }

But now all I get is this:

&lt;link href=&quot;/stylesheets/blueprint/src/reset.css&quot; media=&quot;screen, projection&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;

&lt;link href=&quot;/stylesheets/blueprint/src/typography.css&quot; media=&quot;screen, projection&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt; &lt;link href=&quot;/stylesheets/blueprint/src/grid.css&quot; media=&quot;screen, projection&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;

&lt;link href=&quot;/stylesheets/blueprint/src/forms.css&quot; media=&quot;screen, projection&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt; &lt;link
href=&quot;/stylesheets/blueprint/plugins/css-classes/css-classes.css&quot; media=&quot;screen, projection&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;

&lt;link href=&quot;/stylesheets/blueprint/print.css&quot; media=&quot;print&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt; <!--[if IE]>&lt;link href=&quot;/blueprint/ie.css&quot; media=&quot;screen, projection&quot; rel=&quot;Stylesheet&quot; type=&quot;text/css&quot; /&gt;<![endif]-->

Has anybody seen this before?