Index: CKEditor/trunk/_source/core/htmlparser.js
===================================================================
--- CKEditor/trunk/_source/core/htmlparser.js (revision 6724)
+++ CKEditor/trunk/_source/core/htmlparser.js (revision 6730)
@@ -19,5 +19,5 @@
this._ =
{
- htmlPartsRegex : new RegExp( '<(?:(?:\\/([^>]+)>)|(?:!--([\\S|\\s]*?)-->)|(?:([^\\s>]+)\\s*((?:(?:[^"\'>]+)|(?:"[^"]*")|(?:\'[^\']*\'))*)\\/?>))', 'g' )
+ htmlPartsRegex : new RegExp( '<(?:(?:\\/([^>]+)>)|(?:!--([\\S|\\s]*?)-->)|(?:([^\\s>]+)\\s+((?:(?:[^"\'>]+)|(?:".*?")|(?:\'.*?\'))*)\\/?>))', 'g' )
};
};
@@ -25,5 +25,5 @@
(function()
{
- var attribsRegex = /([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,
+ var attribsRegex = /([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"(.*?)")|(?:'(.*?)')|([^\s>]+)))|(?=\s|$))/g,
emptyAttribs = {checked:1,compact:1,declare:1,defer:1,disabled:1,ismap:1,multiple:1,nohref:1,noresize:1,noshade:1,nowrap:1,readonly:1,selected:1};