Fix double escaping

e75284e528 escapes a few messages too
eagerly but 1fc00749fb only fixes one
of such mistakes.

Without this change, the labels of some toolbar buttons (e.g. Italian
'Redirect', Welsh 'Numbered list') display ''' where apostrophes
should be.

Change-Id: I3265631512c5d22ecc3dafb9d56acecc7d50ad1d
This commit is contained in:
Ricordisamoa 2020-02-05 19:11:01 +01:00
parent d861bf41de
commit e4d02b5e9a

View file

@ -286,7 +286,7 @@
}
}
}
label = $.wikiEditor.autoSafeMsg( tool, 'label' );
label = $.wikiEditor.autoMsg( tool, 'label' );
switch ( tool.type ) {
case 'button':
case 'toggle':