* src/mod_muc/mod_muc_log.erl: Remove 'right-to-left override'

unicode character (thanks to Badlop)

SVN Revision: 701
This commit is contained in:
Alexey Shchepin 2007-01-05 20:05:38 +00:00
parent 56f01cfe6e
commit 827fb3d8e0
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-01-05 Alexey Shchepin <alexey@sevcom.net>
* src/mod_muc/mod_muc_log.erl: Remove 'right-to-left override'
unicode character (thanks to Badlop)
2006-12-31 Alexey Shchepin <alexey@sevcom.net>
* src/ejabberd_s2s_out.erl: Bugfix

View File

@ -658,7 +658,8 @@ htmlize2(S1) ->
S3 = element(2, regexp:gsub(S2, "<", "\\&lt;")),
S4 = element(2, regexp:gsub(S3, ">", "\\&gt;")),
S5 = element(2, regexp:gsub(S4, "(http|ftp)://.[^ ]*", "<a href=\"&\">&</a>")),
S5.
%% Remove 'right-to-left override' unicode character 0x202e
element(2, regexp:gsub(S5, [226,128,174], "[RLO]")).
get_room_info(RoomJID, Opts) ->
Title =