From c6d451f448a086d78c274d4907896f56739c9370 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 19 Mar 2008 00:40:28 +0100 Subject: imdb plugin: character roles can contain HTML (e.g. ), so clean it up --- data/rbot/plugins/imdb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') 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 -- cgit v1.2.3