Ticket #4683: 4683.patch
File 4683.patch, 1.1 KB (added by , 15 years ago) |
---|
-
_source/plugins/htmlwriter/plugin.js
174 174 if ( this.forceSimpleAmpersand ) 175 175 attValue = attValue.replace( /&/, '&' ); 176 176 177 // Browsers don't always escape quote in attribute values. (#4683) 178 attValue = attValue.replace( /"/g, '"' ) 179 177 180 this._.output.push( ' ', attName, '="', attValue, '"' ); 178 181 }, 179 182 -
_source/core/htmlparser/basicwriter.js
60 60 */ 61 61 attribute : function( attName, attValue ) 62 62 { 63 // Browsers don't always escape quote in attribute values. (#4683) 64 attValue = attValue.replace( /"/g, '"' ) 65 63 66 this._.output.push( ' ', attName, '="', attValue, '"' ); 64 67 }, 65 68