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:
parent
a5e4d5d550
commit
3bb802a650
@ -658,7 +658,7 @@ htmlize2(S1) ->
|
|||||||
S3 = element(2, regexp:gsub(S2, "<", "\\<")),
|
S3 = element(2, regexp:gsub(S2, "<", "\\<")),
|
||||||
S4 = element(2, regexp:gsub(S3, ">", "\\>")),
|
S4 = element(2, regexp:gsub(S3, ">", "\\>")),
|
||||||
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 =
|
||||||
|
Loading…
Reference in New Issue
Block a user