Commit e218628d authored by Jörn Zaefferer's avatar Jörn Zaefferer

Added experimental fix for bug #214

parent cc967562
...@@ -1496,7 +1496,9 @@ jQuery.extend({ ...@@ -1496,7 +1496,9 @@ jQuery.extend({
var r = []; var r = [];
for ( var i = 0; i < a.length; i++ ) { for ( var i = 0; i < a.length; i++ ) {
if ( a[i].constructor == String ) { if ( a[i].constructor == String ) {
// trim whitespace, otherwise indexOf won't work as expected
a[i] = $.trim(a[i]);
var table = ""; var table = "";
if ( !a[i].indexOf("<thead") || !a[i].indexOf("<tbody") ) { if ( !a[i].indexOf("<thead") || !a[i].indexOf("<tbody") ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment