Merge "Comment Parsoid hacks as such"

This commit is contained in:
jenkins-bot 2017-03-03 22:58:24 +00:00 committed by Gerrit Code Review
commit 82355461fe
2 changed files with 2 additions and 0 deletions

View file

@ -20,6 +20,7 @@ ve.ce.MWExternalLinkAnnotation = function VeCeMWExternalLinkAnnotation() {
ve.ce.MWExternalLinkAnnotation.super.apply( this, arguments );
// DOM changes
// TODO: Remove when fixed upstream in Parsoid (T58756)
this.$anchor.addClass( 'external' );
};

View file

@ -41,6 +41,7 @@ ve.ce.MWNumberedExternalLinkNode = function VeCeMWNumberedExternalLinkNode() {
this.$link = $( '<a>' )
// CSS for numbering needs rel=mw:ExtLink
.attr( 'rel', 'mw:ExtLink' )
// TODO: Remove when fixed upstream in Parsoid (T58756)
.addClass( 'external' )
.appendTo( this.$element );