diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-01-26 13:36:41 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-01-26 13:37:35 +0100 |
commit | 5b6e6a93dc620315f69b3507bc86d8a806cdb968 (patch) | |
tree | 92d58a02d2624d8dfbfac846d3594d6c6d1b2611 | |
parent | 299c928efdedfb25c76c14077fe3060db54ceeb1 (diff) |
html entities: add deg
The symbol appears in weather underground data an was not being escaped
when htmlentities was not available
-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 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' => '™', |