Ticket #4351: 4351_2.patch

File 4351_2.patch, 645 bytes (added by Garry Yao, 10 years ago)
  • _source/core/htmlparser.js

     
    1818
    1919(function()
    2020{
    21         var attribsRegex        = /([\w:]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,
     21        var attribsRegex        = /([\w\-:.]+)(?:(?:\s*=\s*(?:(?:"([^"]*)")|(?:'([^']*)')|([^\s>]+)))|(?=\s|$))/g,
    2222                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};
    2323
    2424        CKEDITOR.htmlParser.prototype =
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy