Ticket #2754: 2754.patch

File 2754.patch, 601 bytes (added by Martin Kou, 15 years ago)
  • _source/core/htmlparser.js

     
    2727CKEDITOR.htmlParser = function()
    2828{
    2929        ( this._ || ( this._ = {} ) ).htmlPartsRegex =
    30                 new RegExp('<(?:(?:\\/([^>]+)>)|(?:!--(.*?)-->)|(?:([^\\s>]+)\\s*((?:(?:[^"\'>]+)|(?:"[^"]*")|(?:\'[^\']*\'))*)\\/?>))', 'g');
     30                new RegExp('<(?:(?:\\/([^>]+)>)|(?:!--((?:\\s|\\S)*?)-->)|(?:([^\\s>]+)\\s*((?:(?:[^"\'>]+)|(?:"[^"]*")|(?:\'[^\']*\'))*)\\/?>))', 'g');
    3131};
    3232
    3333(function()
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy