From 2e03322bb615cb8f2875691356b25d89f0f77d57 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 16 Mar 2011 20:26:14 +0100 Subject: Add – to known HTML characters This was affecting the imdb plugin when htmlentities was not available, because TV series were split at en dashes, which were being converted to asterisks when our built-in UNESCAPE_TABLE was being used. --- lib/rbot/core/utils/utils.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rbot/core/utils/utils.rb b/lib/rbot/core/utils/utils.rb index 1ea69df3..ec3b3c5d 100644 --- a/lib/rbot/core/utils/utils.rb +++ b/lib/rbot/core/utils/utils.rb @@ -33,6 +33,7 @@ rescue LoadError 'gt' => '>', 'hellip' => '…', 'nbsp' => ' ', + 'ndash' => '–', 'Agrave' => 'À', 'Aacute' => 'Á', 'Acirc' => 'Â', -- cgit v1.2.3