Make WordPress Core

Ticket #26307: 26307.2.patch

File 26307.2.patch, 484 bytes (added by JanHenkG, 11 years ago)
  • src/wp-includes/js/wplink.js

     
    181181                        html = '<a href="' + attrs.href + '"';
    182182
    183183                        if ( attrs.title )
    184                                 html += ' title="' + attrs.title + '"';
     184                                html += ' title="' + attrs.title.replace( /"/g, '&quot;' ) + '"';
    185185                        if ( attrs.target )
    186186                                html += ' target="' + attrs.target + '"';
    187187