aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xml.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xml.erl b/src/xml.erl
index 1fca171ec..da7b5f8d3 100644
--- a/src/xml.erl
+++ b/src/xml.erl
@@ -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) ->