diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-03-16 20:26:14 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-03-16 20:26:14 +0100 |
commit | 2e03322bb615cb8f2875691356b25d89f0f77d57 (patch) | |
tree | 76fd6535814a7f7ba8fbbbe6efd3904a346ce765 /lib | |
parent | 7842b4d2dbc2940fa19dc7da1f33980b236fb55a (diff) |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/core/utils/utils.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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' => 'Â', |