fix: stabilize media paths and logs
This commit is contained in:
1 parent
9c9d191d6f
commit
5b45a143a1
3 files changed
+11
-4
No files matched your search
@@ -20,6 +20,7 @@ const normalizeText = (value?: string) =>
|
||||
(value ?? "")
|
||||
.replace(/\r\n/g, "\n")
|
||||
.replace(/\r/g, "\n")
|
||||
.replace(/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f]/g, "")
|
||||
.split("\n")
|
||||
.map((line) => line.replace(/\s+$/u, ""))
|
||||
.join("\n")
|
||||
|
||||
Reference in new issue
Block a user