Make WordPress Core

Ticket #26307: 26307.patch

File 26307.patch, 484 bytes (added by SergeyBiryukov, 13 years ago)
  • src/wp-includes/js/wplink.js

     
    173173                        html = '<a href="' + attrs.href + '"';
    174174
    175175                        if ( attrs.title )
    176                                 html += ' title="' + attrs.title + '"';
     176                                html += ' title="' + attrs.title.replace( /"/g, '&quot;' ) + '"';
    177177                        if ( attrs.target )
    178178                                html += ' target="' + attrs.target + '"';
    179179