Author: alexsmirnov
Date: 2008-05-28 19:48:55 -0400 (Wed, 28 May 2008)
New Revision: 8814
Modified:
trunk/framework/impl/src/main/java/org/ajax4jsf/io/parser/FastHtmlParser.java
Log:
fix
http://jira.jboss.com/jira/browse/RF-3577
Modified: trunk/framework/impl/src/main/java/org/ajax4jsf/io/parser/FastHtmlParser.java
===================================================================
---
trunk/framework/impl/src/main/java/org/ajax4jsf/io/parser/FastHtmlParser.java 2008-05-28
18:57:34 UTC (rev 8813)
+++
trunk/framework/impl/src/main/java/org/ajax4jsf/io/parser/FastHtmlParser.java 2008-05-28
23:48:55 UTC (rev 8814)
@@ -64,7 +64,8 @@
boolean haveHtml = false;
boolean haveHead = false;
boolean closingElement = false;
- if (null != scripts || null != styles || null != userStyles) {
+// Always parse content, see
http://jira.jboss.com/jira/browse/RF-3577
+// if (null != scripts || null != styles || null != userStyles) {
ParsingStateManager stateManager = ParsingStateManager
.getInstance();
ParserState state = stateManager.getInitialState();
@@ -147,9 +148,9 @@
}
}
context.send();
- } else {
- haveHtml = true;
- }
+// } else {
+// haveHtml = true;
+// }
// Send rest of input.
if (in instanceof FastBufferReader) {
FastBufferReader fastIn = (FastBufferReader) in;