Sorry, but I did not understant what you said. What is a
downlevel-revealed-conditional-comment ? :)

The conditional comments I am talking about are the ones defined by M$ :
<!--[if !IE]--> ... <![endif]--> is how it looks like in plain html.

The article on M$ is at :
http://msdn2.microsoft.com/en-us/library/ms537512(VS.85).aspx  and you can
clearly see that IE supports "The NOT operator".

AFAIK Haml generates these conditional comments, and should not really think
they are nested ... for example in HAML

  /[if lte IE 6]
    sometext

will make a block in html that looks like this:
  <!--[if lte IE 6]>
    sometext
  <![endif]-->

Why should /[if !IE] break?


On Mon, Apr 28, 2008 at 5:58 PM, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:

>
> Haml doesn't (and won't) support generating downlevel-revealed
> conditional comments. Thus "/[if !IE]" won't be useful; no browser will
> respect it.
>
> That said, it should at least generate something. I'll fix it some time
> today.
>
> - Nathan
>
> Evgeny wrote:
> > I am trying to use an IE conditional comment, with Haml syntax - but
> > get an error (haml 1.8.2)
> >
> > !!!
> > %html
> >   %body
> >   /[if !IE]
> >     You are not in IE
> >   /[if IE]
> >     You are in IE
> >
> > Syntax error on line 4: Illegal Nesting: Nesting within a tag that
> > already has content is illegal.
> >
> >
> > It's a valid conditional for "if not IE", but it does not work in haml
> > ....
> >
> >
> > fix please?
> >
> > >
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to