mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 23:36:16 -04:00
Base85: Ignore whitespace
This commit is contained in:
parent
0182cdda69
commit
103ecff6a7
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ class FromBase85 extends Operation {
|
|||
|
||||
if (input.length === 0) return [];
|
||||
|
||||
input = input.replace(/\s+/g, "");
|
||||
|
||||
const matches = input.match(/<~(.+?)~>/);
|
||||
if (matches !== null) input = matches[1];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue