Print Page | Close Window

Problems with HTML conditional comment

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=20721
Printed Date: 28 March 2026 at 7:15am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Problems with HTML conditional comment
Posted By: Brandt
Subject: Problems with HTML conditional comment
Date Posted: 17 July 2006 at 11:09am
using WordTidy in RTE, one can quickly insert the content of Word documents in an RTE edit window. The generated HTML however contains conditional comments like:
 
<!--[if !supportEmptyParas]--> <!--[endif]-->
 
This works fine with FireFox (of course), but it gets displayed as such by Internet Explorer, cluttering the page.
 
Checking MSDN, I found out that the syntax according to MicroSoft should be as follows:
 
<!--[if !supportEmptyParas]> <![endif]-->
 
so 4 hyphens less. Would it be possible to amend this in RTE/WordTidy?
 
Thanks in advance,
 
Ad



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net