Ticket #25704: 25704-braces.patch
| File 25704-braces.patch, 527 bytes (added by , 12 years ago) |
|---|
-
src/wp-includes/js/wplink.js
diff --git src/wp-includes/js/wplink.js src/wp-includes/js/wplink.js index c798547..2a8f83b 100644
var wpLink; 180 180 // Build HTML 181 181 html = '<a href="' + attrs.href + '"'; 182 182 183 if ( attrs.title ) 183 if ( attrs.title ) { 184 184 title = attrs.title.replace( /</g, '<' ).replace( />/g, '>' ).replace( /"/g, '"' ); 185 185 html += ' title="' + title + '"'; 186 } 186 187 if ( attrs.target ) 187 188 html += ' target="' + attrs.target + '"'; 188 189