From: Giuseppe Bilotta Date: Wed, 26 Jan 2011 12:36:41 +0000 (+0100) Subject: html entities: add deg X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=5b6e6a93dc620315f69b3507bc86d8a806cdb968;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git html entities: add deg The symbol appears in weather underground data an was not being escaped when htmlentities was not available --- diff --git a/lib/rbot/core/utils/utils.rb b/lib/rbot/core/utils/utils.rb index 4105fa12..1ea69df3 100644 --- a/lib/rbot/core/utils/utils.rb +++ b/lib/rbot/core/utils/utils.rb @@ -23,6 +23,7 @@ rescue LoadError 'raquo' => '»', 'quot' => '"', 'apos' => '\'', + 'deg' => '°', 'micro' => 'µ', 'copy' => '©', 'trade' => '™',