Changeset 6730 for CKEditor/trunk
- Timestamp:
- 04/20/11 18:08:02 (2 years ago)
- File:
-
- 1 edited
-
CKEditor/trunk/_source/core/htmlparser.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/_source/core/htmlparser.js
r6348 r6730 19 19 this._ = 20 20 { 21 htmlPartsRegex : new RegExp( '<(?:(?:\\/([^>]+)>)|(?:!--([\\S|\\s]*?)-->)|(?:([^\\s>]+)\\s *((?:(?:[^"\'>]+)|(?:"[^"]*")|(?:\'[^\']*\'))*)\\/?>))', 'g' )21 htmlPartsRegex : new RegExp( '<(?:(?:\\/([^>]+)>)|(?:!--([\\S|\\s]*?)-->)|(?:([^\\s>]+)\\s+((?:(?:[^"\'>]+)|(?:".*?")|(?:\'.*?\'))*)\\/?>))', 'g' ) 22 22 }; 23 23 }; … … 25 25 (function() 26 26 { 27 var attribsRegex = /([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"( [^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,27 var attribsRegex = /([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"(.*?)")|(?:'(.*?)')|([^\s>]+)))|(?=\s|$))/g, 28 28 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}; 29 29
Note: See TracChangeset
for help on using the changeset viewer.
