my boilerplate HTML pages have this sort of thing going on:
<!doctype html> <!--[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]--> <head>
and
<!--[if lt IE 10]> <script type="text/javascript" src="../../Player/js/PIE.js"></script> <![endif]-->
These items are lost when I save the page. The resulting page ends up looking like this:
<!doctype html> <html lang="en"> <head> <title>Information template</title> <!--<![endif]--> <meta charset="utf-8"> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"> <meta content="width=device-width,initial-scale=1" name="viewport">
which means I have to edit all those particular stubs back in (used by modernizr). Is there a way to prevent the editor from changing any code outside the body, or get it to recognise these sorts of comment blocks?
Re: [HTML5] [Boilerplate] Conditional Comments being lost
Please read the following article:
http://docs.cksource.com/CKEditor_3.x/H ... _Reporting and fill a bug @ dev.ckeditor.com
You may want to add links between the ticket and the forum topic to make sure all the additional comments will be read by the developers.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
HTML5 Progress?
Has this been addressed? There doesn't seem to be a bug filed against it.