Commit 098a2bb4 authored by John Resig's avatar John Resig

Fixed the cleaning method to support namespaced elements. Thanks to einaros...

Fixed the cleaning method to support namespaced elements. Thanks to einaros for the patch recommendation. Fixes #5358.
parent 4b5a680f
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){
......
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