You can't nest filters.
you want this for sass:
%style(type="text/css")
:sass
div
color: red
Yes, they're inconsistent.
chris
On Thu, May 27, 2010 at 12:12 AM, Eumir <[email protected]> wrote:
> Hi, to make a long story short, i need to nest the sass filter inside
> the css filter so the generated css will be enclosed in style tags. I
> tried this:
>
> :css
> :sass
> p
> :border 1px solid #f00
>
> but in between the style tags, the sass is literally printed(wasn't
> parsed)
>
> doing
>
> :css
> p {border: 1px solid #f00}
>
> did the trick, but i wish to still use sass in coding the inline style
> so is this a bug or is nesting filters just not possible?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Haml" 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/haml?hl=en.