mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-10 08:15:00 -04:00
spelling: carriage
This commit is contained in:
parent
bee9aeb900
commit
36cd2e7ba8
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ class RemoveWhitespace extends Operation {
|
|||
run(input, args) {
|
||||
const [
|
||||
removeSpaces,
|
||||
removeCariageReturns,
|
||||
removeCarriageReturns,
|
||||
removeLineFeeds,
|
||||
removeTabs,
|
||||
removeFormFeeds,
|
||||
|
@ -73,7 +73,7 @@ class RemoveWhitespace extends Operation {
|
|||
let data = input;
|
||||
|
||||
if (removeSpaces) data = data.replace(/ /g, "");
|
||||
if (removeCariageReturns) data = data.replace(/\r/g, "");
|
||||
if (removeCarriageReturns) data = data.replace(/\r/g, "");
|
||||
if (removeLineFeeds) data = data.replace(/\n/g, "");
|
||||
if (removeTabs) data = data.replace(/\t/g, "");
|
||||
if (removeFormFeeds) data = data.replace(/\f/g, "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue