From ab4d39d55d7b6dc28e36cad9c86a160a36bae474 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 12 May 2025 11:14:40 +0200 Subject: [PATCH] IMPRO,MINOR,FIX: changed replacement order of empty string characters to replace those that are a combination of two first. Otherwise the combination would be replaced twice. --- src/base/extStore.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/base/extStore.js b/src/base/extStore.js index e7d24c2..63deaea 100644 --- a/src/base/extStore.js +++ b/src/base/extStore.js @@ -54,9 +54,10 @@ function clearFunctionDeclarationText(func) { } return shrinkEmptyStrings( func.toString() - .replaceAll('\n', ' ') .replaceAll('\r\n', ' ') .replaceAll('\n\r', ' ') + .replaceAll('\n', ' ') + .replaceAll('\r', ' ') ); }