haml translation.

32 views
Skip to first unread message

Mauro Sanna

unread,
Nov 16, 2012, 5:04:32 AM11/16/12
to ha...@googlegroups.com
How translate this html code?

<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->

For the first three I've done:

/[if lt IE 7]
  %html{:class => "no-js ie6 oldie, :lang => "en"}
/[if IE 7]
  %html{:class => "no-js ie7 oldie, :lang => "en"}
/[if IE 8]
  %html{:class => "no-js ie8 oldie, :lang => "en"}

but I don't know how to translate the last.

Ken Burgett

unread,
Nov 16, 2012, 11:00:18 AM11/16/12
to ha...@googlegroups.com

produced:


/ [if gt IE 8]><!
%html.no-js{:lang => "en"}
  / <![endif]


--
You received this message because you are subscribed to the Google Groups "Haml" group.
To view this discussion on the web visit https://groups.google.com/d/msg/haml/-/MuTITPHgjFsJ.
To post to this group, send email to ha...@googlegroups.com.
To unsubscribe from this group, send email to haml+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haml?hl=en.



--
Regards,

Ken

Seek wisdom through disbelief
Reply all
Reply to author
Forward
0 new messages