diff --git a/modules/ve-mw/dm/nodes/ve.dm.MWTransclusionNode.js b/modules/ve-mw/dm/nodes/ve.dm.MWTransclusionNode.js index 3bded86123..05cbce31ed 100644 --- a/modules/ve-mw/dm/nodes/ve.dm.MWTransclusionNode.js +++ b/modules/ve-mw/dm/nodes/ve.dm.MWTransclusionNode.js @@ -180,9 +180,9 @@ ve.dm.MWTransclusionNode.static.toDomElements = function ( dataElement, doc, con els[ 0 ].setAttribute( 'data-mw', JSON.stringify( dataElement.attributes.mw ) ); } if ( converter.isForClipboard() ) { - // If the first element is a or tag, e.g. a category, ensure it - // is not destroyed by copy-paste by replacing it with a span - if ( els[ 0 ].tagName === 'LINK' || els[ 0 ].tagName === 'META' ) { + // If the first element is a , or