mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +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) ->
|
||||
lists:flatmap(
|
||||
fun($&) -> "\\&";
|
||||
($\\) -> "\\\\";
|
||||
(Chr) -> [Chr]
|
||||
end, String).
|
||||
|
Loading…
Reference in New Issue
Block a user