Author: psharples
Date: Mon Oct 17 13:36:36 2011
New Revision: 1185163

URL: http://svn.apache.org/viewvc?rev=1185163&view=rev
Log:
Putting this back as it was (the doctype declaration was originally removed 
because there was a problem with widgets not importing correctly.)  This has 
since been resolved.

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=1185163&r1=1185162&r2=1185163&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 Mon 
Oct 17 13:36:36 2011
@@ -53,7 +53,7 @@ public class HtmlCleaner implements IHtm
                // into "quirks mode" - see WOOKIE-236. 
                // However, it appears we explicitly have to declare it as 
false to work correctly.
                //
-               //properties.setOmitDoctypeDeclaration(false);
+               properties.setOmitDoctypeDeclaration(false);
                properties.setOmitXmlDeclaration(true);
                properties.setUseCdataForScriptAndStyle(true);
                properties.setUseEmptyElementTags(false);       
@@ -70,7 +70,7 @@ public class HtmlCleaner implements IHtm
                // remove widget-specific scripts. These will be replaced
                // after processing, so that the injected scripts come first
                removeUserScripts();
-               //fixHTML5Doctype();
+               fixHTML5Doctype();
        }
        
        /* (non-Javadoc)


Reply via email to