You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by ps...@apache.org on 2011/10/11 21:57:01 UTC
svn commit: r1182055 -
/incubator/wookie/trunk/src/org/apache/wookie/util/html/HtmlCleaner.java
Author: psharples
Date: Tue Oct 11 19:57:01 2011
New Revision: 1182055
URL: http://svn.apache.org/viewvc?rev=1182055&view=rev
Log:
Commented out the changed doctype properties, as it seems to be causing issues on dependent server instances.
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=1182055&r1=1182054&r2=1182055&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 Oct 11 19:57:01 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)