Replace " with "
authorMikael Berthe <mikael@lilotux.net>
Wed, 14 Apr 2010 00:31:11 +0200
changeset 9 d5fa497724f4
parent 8 db84d97cf13d
child 10 2dc0077b09d7
Replace &quot; with " We need a better, more generic, fix...
mcbot/cmds/mcabber_bts.lua
--- a/mcbot/cmds/mcabber_bts.lua	Wed Apr 14 00:22:03 2010 +0200
+++ b/mcbot/cmds/mcabber_bts.lua	Wed Apr 14 00:31:11 2010 +0200
@@ -14,7 +14,7 @@
     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
+    issue.title = title:gsub("&quot;", "\"")
 
     -- Get Status
     item = data:match("Status:%s*</td>%s*<td [^>]*>(.-)</td>")