Changeset 27071
- Timestamp:
- 02/02/2014 09:11:24 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/js/wplink.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/wplink.js
r26876 r27071 166 166 167 167 htmlUpdate: function() { 168 var attrs, html, begin, end, cursor, 168 var attrs, html, begin, end, cursor, title, 169 169 textarea = wpLink.textarea; 170 170 … … 182 182 183 183 if ( attrs.title ) 184 html += ' title="' + attrs.title + '"'; 184 title = attrs.title.replace( /</g, '<' ).replace( />/g, '>' ).replace( /"/g, '"' ); 185 html += ' title="' + title + '"'; 185 186 if ( attrs.target ) 186 187 html += ' target="' + attrs.target + '"';
Note: See TracChangeset
for help on using the changeset viewer.