Fixed the cleaning method to support namespaced elements. Thanks to einaros for the patch recommendation. Fixes #5358.
This commit is contained in:
parent
4b5a680f77
commit
098a2bb4d0
|
@ -1,8 +1,8 @@
|
||||||
var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
|
var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
|
||||||
rleadingWhitespace = /^\s+/,
|
rleadingWhitespace = /^\s+/,
|
||||||
rxhtmlTag = /(<(\w+)[^>]*?)\/>/g,
|
rxhtmlTag = /(<([\w:]+)[^>]*?)\/>/g,
|
||||||
rselfClosing = /^(?:abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i,
|
rselfClosing = /^(?:abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i,
|
||||||
rtagName = /<(\w+)/,
|
rtagName = /<([\w:]+)/,
|
||||||
rtbody = /<tbody/i,
|
rtbody = /<tbody/i,
|
||||||
rhtml = /</,
|
rhtml = /</,
|
||||||
fcloseTag = function(all, front, tag){
|
fcloseTag = function(all, front, tag){
|
||||||
|
|
Loading…
Reference in a new issue