Strip language annotations on external import

These are likely to have been generated by a parent language setting,
rather than an a specific inline annotation.

This won't affect ve-to-ve copy paste.

Bug: T95708
Change-Id: Ic8fe417ab6ffa74e85ab170f413b13b83589293d
This commit is contained in:
Ed Sanders 2015-04-21 13:23:23 +01:00 committed by Jforrester
parent d554d39658
commit e229e73fc6

View file

@ -238,7 +238,7 @@ ve.init.mw.Target.static.importRules = {
external: {
blacklist: [
// Annotations
'link', 'textStyle/span', 'textStyle/font', 'textStyle/underline',
'link', 'textStyle/span', 'textStyle/font', 'textStyle/underline', 'meta/language',
// Nodes
'inlineImage', 'blockImage', 'div', 'alienInline', 'alienBlock', 'comment'
],