aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation.js
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2013-04-24 22:15:41 +0400
committerOleg <markelog@gmail.com>2013-04-24 22:15:41 +0400
commit3a6194076b8b7ab5a9d9f5e6ec602db2ab427d3e (patch)
tree7efd7a31c9e81690b51b5f5ebffa1bea0e07d7dc /src/manipulation.js
parent78c803f1b5198e77f77231516db3912aa9a87055 (diff)
downloadjquery-3a6194076b8b7ab5a9d9f5e6ec602db2ab427d3e.tar.gz
jquery-3a6194076b8b7ab5a9d9f5e6ec602db2ab427d3e.zip
Fix #13818: Add wrapMap entry for col element
Diffstat (limited to 'src/manipulation.js')
-rw-r--r--src/manipulation.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index 6204ca7c9..e323a10ec 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -16,6 +16,7 @@ var rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>
option: [ 1, "<select multiple='multiple'>", "</select>" ],
thead: [ 1, "<table>", "</table>" ],
+ col: [ 2, "<table><colgroup>", "</colgroup></table>" ],
tr: [ 2, "<table><tbody>", "</tbody></table>" ],
td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
@@ -25,7 +26,7 @@ var rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>
// Support: IE 9
wrapMap.optgroup = wrapMap.option;
-wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.col = wrapMap.thead;
+wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
wrapMap.th = wrapMap.td;
jQuery.fn.extend({