From 3724fc1b668961b729f47095dd9403c6e38c0728 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Mon, 23 May 2016 23:31:37 +0200 Subject: [PATCH] loleaflet: bccu#1813 workaround for double encoding in cp-5.0 branch --- loleaflet/src/control/Control.ContextMenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/loleaflet/src/control/Control.ContextMenu.js b/loleaflet/src/control/Control.ContextMenu.js index 50781daf6..cdec3b22d 100644 --- a/loleaflet/src/control/Control.ContextMenu.js +++ b/loleaflet/src/control/Control.ContextMenu.js @@ -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) };