XHTML incompatible
| Project: | jQuery Lightbox Plugin (balupton edition) |
| Version: | 1.0.1-final |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Lightbox 1.0.1 becomes completely non-functional when used on an XHTML page.
To reproduce, just rename the index.htm test page included in the download to index.xhtml. This file already has an XHTML 1.1 doctype. Also make sure that the web server has the following mime type.
application/xhtml+xml xhtml
This bug was verified with Apache 2.2.6 and Firefox 2.0.0.10. The JavaScript error is:
An invalid or illegal string was specified" code: "12
http://DOMAIN/slib/script/jquery.plugin/jquery_lightbox/jquery_lightbox/...
Line 11

Comments
#1
I ran into this too; a bunch of (invalid) nbsp entities. Would be great if you could remove these and make it XHTML compliant.
#2
I've added a point in the readme.txt so users that experience the problem can fix it.