Ticket #1541: meta-1541.patch
File meta-1541.patch, 718 bytes (added by , 9 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js
103 103 $comment = $( this ).html(); 104 104 if ( mentionsRegEx.test( $comment ) ) { 105 105 $comment = $comment.replace( mentionsRegEx, function( match, pre, username ) { 106 var matchInAttr = new RegExp( '=".*' + match + '.*"' ); 107 108 if ( matchInAttr.test( $comment ) ) { 109 return match; 110 } 111 106 112 if ( -1 !== $.inArray( username, reservedTerms ) ) { 107 113 return match; 108 114 }