Skip to content

Commit 12a486e

Browse files
committed
trim input value
1 parent 16098f2 commit 12a486e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codec/codec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function parseCustomType() {
3838
}
3939

4040
output.innerText = JSON.stringify(
41-
types.createType(registry, lastTypeKey, rawBytes.value)
41+
types.createType(registry, lastTypeKey, rawBytes.value.trim())
4242
);
4343
} catch (e) {
4444
output.innerText = e;

0 commit comments

Comments
 (0)