Hi to everyone,
I hope this question has not been asked before, at least I couldn't find it through search engine nor in faq.
I'm using CKEditor 3.6.1 (revision 7072). I'm trying to put in my code a conditional "if not IE" statement in order to give an instruction to firefox and keep it ignored by IE.
My first try was this :
<!--[if !IE]> <div class="sp1"> </div> <![endif]-->
That didn't work, firefox wouldn't take the code in account. After a few research, i found an answer on the microsoft website :
http://msdn.microsoft.com/en-us/library/ms537512%28v=vs.85%29.aspx
If the following code fails to exclusively detect Firefox..<!--[if !IE]> ...statements... <![endif]-->
Use "Downlevel-revealed Conditional Comments" to get it working...<![if !IE]> ...statements... <![endif]>
Actually, it worked, as firefox started to take the argument into account. The problem is that in the mean time IE stopped considering these instruction as html code.
The reason is that CKeditor kind of auto corrects my code or something, and transforms it this way :
<!--[if !IE]--> <!--[endif]-->
As a result, these two lines appear as plain text on my page in IE...
Is there a way to turn off this auto code correction of some sort, or any famous way to bypass this glitch/functionnality
Many thanks in advance.
mr.ots