Completed
Last Updated: 11 Jan 2016 11:32 by ADMIN
ADMIN
Rumen
Created on: 05 Dec 2011 07:21
Category: UI for ASP.NET AJAX
Type: Bug Report
0
FIX: Comment tags stripped by RadEditor
I have a client who is trying to design html page using the RadEditor (an upgraded to the latest internal build this week). The HTML has some IE tags enclosed in html comment fields. they do some browser detection and then write out the <HTML> tag with the appropriate style tags added. They want the code to look like this: <!doctype html> <!--[if IEMobile 7]><html class="no-js iem7 oldie"><![endif]--> <!--[if lt IE 7]><html class="no-js ie6 oldie" lang="en"><![endif]--> <!--[if (IE 7)&!(IEMobile)]><html class="no-js ie7 oldie" lang="en"><![endif]--> <!--[if (IE 8)&!(IEMobile)]><html class="no-js ie8 oldie" lang="en"><![endif]--> <!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]--> <!--[if (gte IE 9)|(gt IEMobile 7)]><!--><html class="no-js" lang="en"><!--<![endif]--> but when i insert this into the RadEditor it comes out looking like this: <html class="no-js" lang="en"><!--<![endif]--><!--[if (gte IE 9)|(gt IEMobile 7)]><!--><!--<![endif]-->
0 comments