On more small update of mcabber_bts (&)
authorMikael Berthe <mikael@lilotux.net>
Wed, 14 Apr 2010 22:19:50 +0200
changeset 12 6428c88dc58a
parent 11 4993fc6b1108
child 13 4a7d06e8709f
On more small update of mcabber_bts (&amp;)
mcbot/cmds/mcabber_bts.lua
--- a/mcbot/cmds/mcabber_bts.lua	Wed Apr 14 22:17:59 2010 +0200
+++ b/mcbot/cmds/mcabber_bts.lua	Wed Apr 14 22:19:50 2010 +0200
@@ -14,7 +14,8 @@
     local data = shcmd("curl "..issue.url)
     local title = data:match("#"..issue.id.."%s*-%s*(.*)%s*&mdash;")
     if not title then return nil end
-    issue.title = title:gsub("&quot;", "\""):gsub("&#39;", "'")
+    issue.title = title:gsub("&quot;", "\""):gsub("&amp;", "&")
+    issue.title = title:gsub("&#39;", "'")
 
     -- Get Status
     item = data:match("Status:%s*</td>%s*<td [^>]*>(.-)</td>")