| Title | cssinclude.js fails in IE because it includes a <script> tag |
| Date | 08-Feb-2005 13:13:13 EET |
| Version | 2.1.144-alpha |
| Submitter | 84.66.76.105 |
| Bug criticality | MediumBug |
| Browser version | IE6 |
| Bug status | ClosedBug |
| PageProvider used | |
| Servlet Container | Tomcat 4.1.27 |
| Operating System | Windows XP, SP2 |
| URL | all pages |
| Java version | 1.4.1 |
I've just upgraded my JspWiki instance to 2.1.144-alpha.
Everything works fine using Mozilla Firefox 1.0.
Under IE6, I get a syntax error with the included scripts/cssinclude.js. (I am running IE with script debugging turned on.)
On investigation, cssinclude.js starts includes a <script type="text/javascript"> tag, and ends with a </script> tag. My guess is that it shouldn't, since it is included using a <script src="scripts/cssinclude.js" type="text/javascript"></script> statement in the HTML. search_highlights.js doesn't start with a <script> tag.
When I removed the additional <script> tags, it works OK in both IE and Firefox.
Oops! Confirmed. Bug fix coming along...
Fixed in 2.1.147.