-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for "Content-type: application/xhtml+xml" #62
Comments
Hi MelTraX! LOL nice, I just saw that yesterday and changed it... actually I think I like your method better ;) Thanks! I'll have this in the next update soon :) |
No problem. Thanks for maintaining the project. :) I just realized though that my solution does not work for nested tables. Hmm, I'm not sure the current version does anyway. I think last time I had to change a few things to make that work. I'll test that tomorrow and let you know. This change should probably be something like: trs = $(t).children('thead:eq(0)').children('tr').get(), |
Actually, this one works fine: trs = $('> thead:eq(0) tr', t).get(), I didn't even know that's possible. :D You should probably test it in a browser that relies on sizzle though. |
I ended up using |
Too many open issues makes my eye twitch, so I'm sure this issue has been resolved. Thanks! ;) |
If the browser parses real XHTML the tag names are lowercase. The following lines then break tablesorter:
Since it's a jQuery plugin anyway, I see no reason why not to replace them by this:
For me that works like a charm and I just wanted to let you know. :)
The text was updated successfully, but these errors were encountered: