25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-26 16:26:24 +01:00

* src/mod_muc/mod_muc_log.erl: Fixed html special characters

escaping, added new image buttons, chatroom titles now point to
xmpp: URIs (thanks to Badlop)

* src/ejabberd_listener.erl: Bugfix

SVN Revision: 603
This commit is contained in:
Alexey Shchepin 2006-09-09 23:34:51 +00:00
parent a5e4d5d550
commit 3bb802a650

View File

@ -658,7 +658,7 @@ htmlize2(S1) ->
S3 = element(2, regexp:gsub(S2, "<", "\\&lt;")), S3 = element(2, regexp:gsub(S2, "<", "\\&lt;")),
S4 = element(2, regexp:gsub(S3, ">", "\\&gt;")), S4 = element(2, regexp:gsub(S3, ">", "\\&gt;")),
S5 = element(2, regexp:gsub(S4, "(http|ftp)://.[^ ]*", "<a href=\"&\">&</a>")), S5 = element(2, regexp:gsub(S4, "(http|ftp)://.[^ ]*", "<a href=\"&\">&</a>")),
S6. S5.
get_room_info(RoomJID, Opts) -> get_room_info(RoomJID, Opts) ->
Title = Title =