Tom Wiebe lassoscript formatter and <!--[if !IE]> comments
Jul 14, 2005; 14:02
Tom Wiebe
lassoscript formatter and <!--[if !IE]> comments
k, aa somewhat obsure case for sure, but, running the formatter on IE conditional comments will bugger them up completely.
<!--[if !IE]> <--> <object data="/media/banners/may11banner.swf" width="189" height="250" type="application/x-shockwave-flash"> <param name="quality" value="high"> <param name="bgcolor" value="#0F2A70"> <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer"> FAIL (the browser should render some flash content, not this). </object> <!--> <![endif]-->
becomes:
<?LassoScript ! < --if !IE; '> <--> <object data="/media/banners/may11banner.swf" width="189" height="250" type="application/x-shockwave-flash"> <param name="quality" value="high"> <param name="bgcolor" value="#0F2A70"> <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer"> FAIL (the browser should render some flash content, not this). </object> <!--> <!'; endif; '--> ?>'; ?>
I'd guess that it should be completely ignoring anything within the comment, although, I can see where that'd be annoying too. i.e. formatting something like this:
'<!-- ' + #debugstuff + ' -->';
Tom
-- ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassostudiotalk.lasso Manage your list subscription: http://www.listsearch.com/lassostudiotalk.lasso?manage
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!