Merge "You know what, just don't render hrefs, these links aren't clickable anyway"

This commit is contained in:
Trevor Parscal 2012-06-22 00:25:36 +00:00 committed by Gerrit Code Review
commit 35803f97ac

View file

@ -103,13 +103,13 @@ ve.ce.TextNode.annotationRenderers = {
},
'link/extLink': {
'open': function( data ) {
return '<a href="' + mw.html.escape( data.href || '#' ) + '">';
return '<a href="#">';
},
'close': '</a>'
},
'link/wikiLink': {
'open': function( data ) {
return '<a href="' + mw.html.escape( mw.util.wikiGetLink( data.title || '' ) ) + '">';
return '<a href="#">';
},
'close': '</a>'
},