aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rw-r--r--src/xml.erl2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 027909f2a..f3908d8bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-04 Mickael Remond <mickael.remond@process-one.net>
+
+ * src/xml.erl: &apos; entity replaced by &#39; Should work more
+ universaly (in HTML and XML).
+
2007-01-30 Alexey Shchepin <alexey@sevcom.net>
* src/mod_roster_odbc.erl: Bugfix (thanks to asdx
diff --git a/src/xml.erl b/src/xml.erl
index 888618867..5689f30d1 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) ->