aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery/jquery.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/jquery/jquery.js')
-rw-r--r--src/jquery/jquery.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index d04aa6199..c22c12c61 100644
--- a/src/jquery/jquery.js
+++ b/src/jquery/jquery.js
@@ -1465,7 +1465,7 @@ jQuery.extend({
!s.indexOf("<leg") &&
[1, "<fieldset>", "</fieldset>"] ||
- (!s.indexOf("<thead") || !s.indexOf("<tbody") || !s.indexOf("<tfoot")) &&
+ (!s.indexOf("<thead") || !s.indexOf("<tbody") || !s.indexOf("<tfoot") || !s.indexOf("<colg")) &&
[1, "<table>", "</table>"] ||
!s.indexOf("<tr") &&
@@ -1475,6 +1475,9 @@ jQuery.extend({
(!s.indexOf("<td") || !s.indexOf("<th")) &&
[3, "<table><tbody><tr>", "</tr></tbody></table>"] ||
+ !s.indexOf("<col") &&
+ [2, "<table><colgroup>", "</colgroup></table>"] ||
+
[0,"",""];
// Go to html and back, then peel off extra wrappers