Update of //cvsroot/htmlparser/htmlparser/src/org/htmlparser/scanners
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv13002/scanners
Modified Files:
ScriptScanner.java
Log Message:
fix bug #1457371 Script tag consumes too much from document being parsed
The default for ScriptScanner.STRICT was set to true.
If you want the older, more lax, script parsing, set it to false.
Index: ScriptScanner.java
===================================================================
RCS file: //cvsroot/htmlparser/htmlparser/src/org/htmlparser/scanners/ScriptScanner.java,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** ScriptScanner.java 12 Mar 2005 17:53:10 -0000 1.63
--- ScriptScanner.java 27 May 2006 14:36:46 -0000 1.64
***************
*** 74,78 ****
* out in the wild.
*/
! public static boolean STRICT = false;
/**
--- 74,78 ----
* out in the wild.
*/
! public static boolean STRICT = true;
/**
|