25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01: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).