loleaflet: bccu#1813 workaround for double encoding in cp-5.0 branch

This commit is contained in:
Andras Timar 2016-05-23 23:31:37 +02:00
parent 62896c66ea
commit 3724fc1b66

View file

@ -105,6 +105,7 @@ L.Control.ContextMenu = L.Control.extend({
}
itemName = item.text.replace('~', '');
itemName = itemName.replace('°', '°'); // bccu#1813 double encoding in cp-5.0 branch only
contextMenu[item.command] = {
name: _(itemName)
};