From 748ee19b4af2f47f9e8747d4d0c71a939a4c2e04 Mon Sep 17 00:00:00 2001 From: Billiam Date: Wed, 12 Jan 2022 01:22:06 -0600 Subject: [PATCH] Update common.js Remove console.log from removeEscapes --- src/diagrams/common/common.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/diagrams/common/common.js b/src/diagrams/common/common.js index 6ed40871a..961c50df6 100644 --- a/src/diagrams/common/common.js +++ b/src/diagrams/common/common.js @@ -18,8 +18,6 @@ export const removeEscapes = (text) => { return String.fromCharCode(parseInt(match.replace(/\\u/g, ''), 16)); }); - console.log(newStr); - newStr = newStr.replace(/\\x([0-9a-f]{2})/gi, (_, c) => String.fromCharCode(parseInt(c, 16))); newStr = newStr.replace(/\\[\d\d\d]{3}/gi, function (match) { return String.fromCharCode(parseInt(match.replace(/\\/g, ''), 8));