Though there are ways to deal with this fairly easily by using a snippet to
generate the conditional comments; e.g.:
object InternetExplorer {
def snippetHandlers: SnippetPF = {
case "if-ie" :: Nil => conditionalComment _
}
def conditionalComment(xhtml: NodeSeq) = {
val ieVersion = S.attr("version") openOr "IE"
Unparsed("<!--[if " + ieVersion + "]>") ++ xhtml ++ Unparsed("<![endif]-->")
}
}
<link data-lift="if-ie" rel="stylesheet" href="/static/css/ie.css">
<script data-lift="if-ie?version=lt IE 9" src="/static/js/html5shiv.js"></script>
Thanks,
Antonio