Changes between Initial Version and Version 1 of Ticket #11442, comment 4


Ignore:
Timestamp:
Jan 27, 2014, 8:29:37 AM (10 years ago)
Author:
Macsim Catalin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11442, comment 4

    initial v1  
    11I had this issue and it was fixed by replacing the regex from the original patch in htmldataprocessor.js.
    22
    3  // Different protection pattern is used for those that[[BR]]
     3 
    44
    5  // live in attributes to avoid from being HTML encoded.[[BR]]
    6 
    7 -return data.replace( /(['"]).*?\1/g, function( match ) {[[BR]]
    8 
     5{{{
     6 // Different protection pattern is used for those that
     7 // live in attributes to avoid from being HTML encoded.
     8-return data.replace( /(['"]).*?\1/g, function( match ) {
    99+return data.replace( /<[^>]*(['"]).*?\1*>/g, function( match ) {
     10}}}
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy