@webtypen/webframez-core 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8,6 +8,9 @@ class StringFunctionsFacade {
|
|
|
8
8
|
string = string.replace(new RegExp(" ", "g"), " ");
|
|
9
9
|
string = string.replace(new RegExp(" ", "g"), "-");
|
|
10
10
|
string = string.replace(new RegExp("_", "g"), "-");
|
|
11
|
+
string = string.replace(new RegExp("----", "g"), "-");
|
|
12
|
+
string = string.replace(new RegExp("---", "g"), "-");
|
|
13
|
+
string = string.replace(new RegExp("--", "g"), "-");
|
|
11
14
|
const replacements = {
|
|
12
15
|
Ä: "AE",
|
|
13
16
|
ä: "ae",
|
package/package.json
CHANGED
|
@@ -5,6 +5,9 @@ class StringFunctionsFacade {
|
|
|
5
5
|
string = string.replace(new RegExp(" ", "g"), " ");
|
|
6
6
|
string = string.replace(new RegExp(" ", "g"), "-");
|
|
7
7
|
string = string.replace(new RegExp("_", "g"), "-");
|
|
8
|
+
string = string.replace(new RegExp("----", "g"), "-");
|
|
9
|
+
string = string.replace(new RegExp("---", "g"), "-");
|
|
10
|
+
string = string.replace(new RegExp("--", "g"), "-");
|
|
8
11
|
|
|
9
12
|
const replacements: { [key: string]: string } = {
|
|
10
13
|
Ä: "AE",
|