Skip to content

Commit 36bfa2a

Browse files
committed
[octave] remove newlines from base64_encode output
1 parent 3fc5119 commit 36bfa2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base64encode.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
if (isoctavemesh)
4747
varargout{1} = base64_encode(uint8(input));
48+
varargout{1} = regexprep(varargout{1}, '[\r\n]', '');
4849
return
4950
end
5051

0 commit comments

Comments
 (0)