Changes between Initial Version and Version 1 of Ticket #11442, comment 4
- Timestamp:
- Jan 27, 2014, 8:29:37 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11442, comment 4
initial v1 1 1 I had this issue and it was fixed by replacing the regex from the original patch in htmldataprocessor.js. 2 2 3 // Different protection pattern is used for those that[[BR]]3 4 4 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 ) { 9 9 +return data.replace( /<[^>]*(['"]).*?\1*>/g, function( match ) { 10 }}}