git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b5a680
)
Fixed the cleaning method to support namespaced elements. Thanks to einaros for the...
author
John Resig
<jeresig@gmail.com>
Mon, 12 Oct 2009 16:26:01 +0000
(16:26 +0000)
committer
John Resig
<jeresig@gmail.com>
Mon, 12 Oct 2009 16:26:01 +0000
(16:26 +0000)
src/manipulation.js
patch
|
blob
|
history
diff --git
a/src/manipulation.js
b/src/manipulation.js
index
ef4eb3e
..
789bf54
100644
(file)
--- a/
src/manipulation.js
+++ b/
src/manipulation.js
@@
-1,8
+1,8
@@
var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
rleadingWhitespace = /^\s+/,
- rxhtmlTag = /(<(\w+)[^>]*?)\/>/g,
+ rxhtmlTag = /(<([\w:]+)[^>]*?)\/>/g,
rselfClosing = /^(?:abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i,
- rtagName = /<(\w+)/,
+ rtagName = /<([\w:]+)/,
rtbody = /<tbody/i,
rhtml = /</,
fcloseTag = function(all, front, tag){