Escape iolist correctly when NIFs are disabled (EJAB-1462)

This commit is contained in:
Evgeniy Khramtsov 2011-06-11 23:28:10 +10:00
parent aff99097e7
commit f4d0b201ad
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ crypt(S) when is_list(S) ->
$> -> ">";
$" -> """;
$' -> "'";
_ when is_list(C); is_binary(C) -> crypt(C);
_ -> C
end || C <- S];
crypt(S) when is_binary(S) ->