Ticket #9205: 9205.patch

File 9205.patch, 624 bytes (added by Jakub Ś, 9 years ago)
  • _source/plugins/htmldataprocessor/plugin.js

     
    437437
    438438                // Different protection pattern is used for those that
    439439                // live in attributes to avoid from being HTML encoded.
    440                 return data.replace( /(['"]).*?\1/g, function ( match )
     440                return data.replace( /<[^>]*(['"]).*?\1*>/g, function ( match )
    441441                {
    442442                        return match.replace( /<!--\{cke_protected\}([\s\S]+?)-->/g, function( match, data )
    443443                        {
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy