Author: scottbw
Date: Tue Sep 13 07:17:26 2011
New Revision: 1170065

URL: http://svn.apache.org/viewvc?rev=1170065&view=rev
Log:
Removed setOmitDocTypeDeclaration from HtmlCleaner - see WOOKIE-236

Modified:
    incubator/wookie/trunk/src/org/apache/wookie/util/html/HtmlCleaner.java

Modified: 
incubator/wookie/trunk/src/org/apache/wookie/util/html/HtmlCleaner.java
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/util/html/HtmlCleaner.java?rev=1170065&r1=1170064&r2=1170065&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/util/html/HtmlCleaner.java 
(original)
+++ incubator/wookie/trunk/src/org/apache/wookie/util/html/HtmlCleaner.java Tue 
Sep 13 07:17:26 2011
@@ -47,7 +47,12 @@ public class HtmlCleaner implements IHtm
                cleaner = new  org.htmlcleaner.HtmlCleaner();
                // set cleaner properties       
                properties  = cleaner.getProperties();
-               properties.setOmitDoctypeDeclaration(true);
+               //
+               // The following setting has been removed as it can cause 
issues with IE going
+               // into "quirks mode" - see WOOKIE-236
+               //
+               // properties.setOmitDoctypeDeclaration(true);
+               //
                properties.setOmitXmlDeclaration(true);
                properties.setUseCdataForScriptAndStyle(true);
                properties.setUseEmptyElementTags(false);       


Reply via email to