[Htmlparser-cvs] htmlparser/src/org/htmlparser/tests/scannersTests ScriptScannerTest.java,1.53,1.53.
Brought to you by:
derrickoswald
From: Derrick O. <der...@us...> - 2004-05-22 20:10:42
|
Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/scannersTests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29429/src/org/htmlparser/tests/scannersTests Modified Files: Tag: v1_41 ScriptScannerTest.java Log Message: Fix bug# 919738 Text has not been extracted correctly using StringBean and (duplicate) bug #936392 ScriptTag visitor fails for comments with ' by handling single and multiline ecmascript comments in the Lexer class when called with quotesmart true. Index: ScriptScannerTest.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/scannersTests/ScriptScannerTest.java,v retrieving revision 1.53 retrieving revision 1.53.2.1 diff -C2 -d -r1.53 -r1.53.2.1 *** ScriptScannerTest.java 28 Feb 2004 15:52:44 -0000 1.53 --- ScriptScannerTest.java 22 May 2004 20:10:32 -0000 1.53.2.1 *************** *** 203,207 **** "document.write(\"{ // do something\"); " + "document.write(\"}\"); " + ! "// parser thinks this is the end tag. " + "document.write(\"</script>\");" + "</script>" + --- 203,207 ---- "document.write(\"{ // do something\"); " + "document.write(\"}\"); " + ! "// parser thinks this is the end tag.\n" + "document.write(\"</script>\");" + "</script>" + *************** *** 226,230 **** "document.write(\"{ // do something\"); " + "document.write(\"}\"); " + ! "// parser thinks this is the end tag. " + "document.write(\"</script>\");", scriptTag.getScriptCode() --- 226,230 ---- "document.write(\"{ // do something\"); " + "document.write(\"}\"); " + ! "// parser thinks this is the end tag.\n" + "document.write(\"</script>\");", scriptTag.getScriptCode() |