1
0
mirror of synced 2024-12-13 23:41:04 +01:00

Base85: Ignore whitespace

This commit is contained in:
Benedikt Werner 2020-05-16 00:42:31 +02:00
parent 0182cdda69
commit 103ecff6a7
No known key found for this signature in database
GPG Key ID: 1DBFF0F8E9E121EB

View File

@ -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];