mirror of
https://github.com/gchq/CyberChef
synced 2025-12-11 05:43:28 +00:00
Updated dependencies and linted
This commit is contained in:
@@ -144,8 +144,9 @@ const HTML = {
|
||||
}
|
||||
|
||||
if (removeLineBreaks) {
|
||||
input = input.replace(/^\s*\n/, "") // first line
|
||||
.replace(/(\n\s*){2,}/g, "\n"); // all others
|
||||
input = input
|
||||
.replace(/^\s*\n/, "") // first line
|
||||
.replace(/(\n\s*){2,}/g, "\n"); // all others
|
||||
}
|
||||
|
||||
return input;
|
||||
|
||||
Reference in New Issue
Block a user