From 9c994882f15638fdc7ef07a14eedfdbcfaea4adf Mon Sep 17 00:00:00 2001 From: Darshan-upadhyay1110 Date: Mon, 16 Oct 2023 19:47:48 +0530 Subject: [PATCH] Fix Format Cell broken with custom text Signed-off-by: Darshan-upadhyay1110 Change-Id: I27cf86972e70d956b9005fc1ea0b65a622e898d7 --- browser/src/control/Control.JSDialogBuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/src/control/Control.JSDialogBuilder.js b/browser/src/control/Control.JSDialogBuilder.js index a18117f9482b..0497c1bea956 100644 --- a/browser/src/control/Control.JSDialogBuilder.js +++ b/browser/src/control/Control.JSDialogBuilder.js @@ -383,7 +383,7 @@ L.Control.JSDialogBuilder = L.Control.extend({ (objectType === 'responsebutton' && (data == 0 || data == 7)))) { window.onClose(); } - data = typeof data === 'string' ? data.replace('"', '\\"') : data; + data = typeof data === 'string' ? data.replaceAll('"', '\\"') : data; var windowId = builder.windowId !== null && builder.windowId !== undefined ? builder.windowId : (window.mobileDialogId !== undefined ? window.mobileDialogId : (window.sidebarId !== undefined ? window.sidebarId : -1));