MUC messages with ~ were not logged (EJAB-1696)

This commit is contained in:
Badlop 2014-05-19 19:07:46 +02:00
parent 862166511c
commit 6d06f22f64
1 changed files with 3 additions and 1 deletions

View File

@ -1016,7 +1016,9 @@ htmlize2(S1, NoFollow) ->
<<"\\&nbsp;\\&nbsp;">>),
S7 = ejabberd_regexp:greplace(S6, <<"\\t">>,
<<"\\&nbsp;\\&nbsp;\\&nbsp;\\&nbsp;">>),
ejabberd_regexp:greplace(S7, <<226, 128, 174>>,
S8 = ejabberd_regexp:greplace(S7, <<"~">>,
<<"~~~~">>),
ejabberd_regexp:greplace(S8, <<226, 128, 174>>,
<<"[RLO]">>).
link_regexp(false) -> <<"<a href=\"&\">&</a>">>;