Skip to content

Commit

Permalink
FIX: save to string! needs mold
Browse files Browse the repository at this point in the history
  • Loading branch information
Oldes committed Feb 1, 2022
1 parent eeb4414 commit 56c14d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mezz/mezz-save.reb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ save: function [
file? where [write where data] ; WRITE converts to UTF-8, saves overhead
url? where [write where data] ; But some schemes don't support it
none? where [data] ; just return the UTF-8 binary
'else [append where data] ; string! or binary!, insert data
binary? where [append where data]
'else [append where mold data] ; Using mold when appending data to string!
]
]

Expand Down

0 comments on commit 56c14d9

Please sign in to comment.