24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

Fix broken JPEG photo (EJAB-1526)

This commit is contained in:
Evgeniy Khramtsov 2012-12-12 18:08:08 +10:00
parent 2c26926689
commit be33ab890e

View File

@ -181,5 +181,6 @@ do_sub(S, {RegExp, New, Times}, Iter) ->
replace_amps(String) -> replace_amps(String) ->
lists:flatmap( lists:flatmap(
fun($&) -> "\\&"; fun($&) -> "\\&";
($\\) -> "\\\\";
(Chr) -> [Chr] (Chr) -> [Chr]
end, String). end, String).