Did you know ... Search Documentation:
Pack weblog -- prolog/info/html/html_comments.pl
PublicShow source

Various tools for html comments

Part of Weblog Licensed under the LGPL

 if_ie(+Cond, +HTML)// is det
Conditionally include HTML, using the Internet Explorer conditional comments mechanism http://www.quirksmode.org/css/condcom.html

For example

== \if('lte IE 8', link([ rel(stylesheet), href('http://cdn.bigco.com/stylesheet.for.ie.css') ]))

produces

<!--[if lte IE 8]> <link rel="stylesheet" href="http://cdn.bigco.com/stylesheet.for.ie.css"> <![endif]-->

==

 html_comment(+Text)// is det
Insert an html comment