]> granicus.if.org Git - ejabberd/commitdiff
* src/mod_muc/mod_muc_log.erl: Fixed html special characters
authorAlexey Shchepin <alexey@process-one.net>
Sat, 9 Sep 2006 23:34:51 +0000 (23:34 +0000)
committerAlexey Shchepin <alexey@process-one.net>
Sat, 9 Sep 2006 23:34:51 +0000 (23:34 +0000)
escaping, added new image buttons, chatroom titles now point to
xmpp: URIs (thanks to Badlop)

* src/ejabberd_listener.erl: Bugfix

SVN Revision: 603

src/mod_muc/mod_muc_log.erl

index 15afd6350310953d4a5f591ef824a6d624fa9f3c..1ba731e7c1108f8976ceacaae87a117c8a5ac01a 100644 (file)
@@ -658,7 +658,7 @@ 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>")),
-    S6.
+    S5.
 
 get_room_info(RoomJID, Opts) ->
     Title =