aboutsummaryrefslogtreecommitdiff
path: root/src/xml.erl
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2007-02-04 16:04:40 +0000
committerAlexey Shchepin <alexey@process-one.net>2007-02-04 16:04:40 +0000
commit5b4e116cfdaada860c63c1d087906e5c07ef4c52 (patch)
tree18f42e3c95daf32cfd5bff843d6d0ede505a0ed2 /src/xml.erl
parent* src/xml.erl: &apos; entity replaced by &#39; Should work more universaly (i... (diff)
* src/web/ejabberd_http.erl: Added separate version of
element_to_string for HTML encoding * src/xml.erl: Reverted previous change SVN Revision: 722
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 5689f30d1..888618867 100644
--- a/src/xml.erl
+++ b/src/xml.erl
@@ -111,7 +111,7 @@ crypt(S) when is_list(S) ->
$< -> "&lt;";
$> -> "&gt;";
$" -> "&quot;";
- $' -> "&#39;";
+ $' -> "&apos;";
_ -> C
end || C <- S];
crypt(S) when is_binary(S) ->