summaryrefslogtreecommitdiff
path: root/src/xml.erl
diff options
context:
space:
mode:
authorMickaël Rémond <mickael.remond@process-one.net>2007-02-04 11:30:44 +0000
committerMickaël Rémond <mickael.remond@process-one.net>2007-02-04 11:30:44 +0000
commit78751e78c05aa51c5edcfb9065b261054888391a (patch)
tree2dbab5e92ee9308282e408fb5c3f58f528259ca4 /src/xml.erl
parent* src/mod_roster_odbc.erl: Bugfix (thanks to asdx (diff)
* src/xml.erl: &apos; entity replaced by &#39; Should work more universaly (in HTML and XML).
SVN Revision: 721
Diffstat (limited to 'src/xml.erl')
-rw-r--r--src/xml.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml.erl b/src/xml.erl
index 88861886..5689f30d 100644
--- a/src/xml.erl
+++ b/src/xml.erl
@@ -111,7 +111,7 @@ crypt(S) when is_list(S) ->
$< -> "&lt;";
$> -> "&gt;";
$" -> "&quot;";
- $' -> "&apos;";
+ $' -> "&#39;";
_ -> C
end || C <- S];
crypt(S) when is_binary(S) ->