diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-03-19 00:40:28 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-03-19 14:49:48 +0100 |
commit | c6d451f448a086d78c274d4907896f56739c9370 (patch) | |
tree | fc640a342d6d85969b64748f1cb0a4428fc5775c /data/rbot | |
parent | a51ae05ee0252576a10a77c9f92c0ce096be73aa (diff) |
imdb plugin: character roles can contain HTML (e.g. <a href>), so clean it up
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/imdb.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/imdb.rb b/data/rbot/plugins/imdb.rb index 84d0bb17..82afd94a 100644 --- a/data/rbot/plugins/imdb.rb +++ b/data/rbot/plugins/imdb.rb @@ -159,7 +159,7 @@ class Imdb if opts[:characters] info << resp.body.scan(CREDIT_NAME_MATCH).map { |url, name, role| - "%s: %s" % [name, role] + "%s: %s" % [name, role.ircify_html] }.join('; ') return info end |