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:
parent
2c26926689
commit
be33ab890e
@ -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).
|
||||||
|
Loading…
Reference in New Issue
Block a user