diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-01-28 23:17:34 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-01-28 23:17:34 +0000 |
commit | ed05ade02af030196f2850389e6fc291440b79b2 (patch) | |
tree | ec95ac70a320cf11a218824705503ed701c9412e | |
parent | edd7e0e88e10628cbfbf2e86decbfcfd7d2b53ae (diff) |
Minor Utils entity cleanup
-rw-r--r-- | lib/rbot/utils.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/rbot/utils.rb b/lib/rbot/utils.rb index d1052390..2b588b48 100644 --- a/lib/rbot/utils.rb +++ b/lib/rbot/utils.rb @@ -9,6 +9,7 @@ rescue LoadError module Irc module Utils UNESCAPE_TABLE = { + 'laquo' => '<<', 'raquo' => '>>', 'quot' => '"', 'apos' => '\'', @@ -21,6 +22,11 @@ rescue LoadError '#8221' => '"', '#8212' => '--', '#39' => '\'', + 'amp' => '&', + 'lt' => '<', + 'gt' => '>', + 'hellip' => '...', + 'nbsp' => ' ', =begin # extras codes, for future use... 'zwnj' => '‌', @@ -48,7 +54,6 @@ rescue LoadError 'Epsilon' => 'Ε', 'Yuml' => 'Ÿ', 'Eta' => 'Η', - 'lt' => '<', 'Icirc' => '\xce', 'Upsilon' => 'Υ', 'ndash' => '–', @@ -66,12 +71,10 @@ rescue LoadError 'cedil' => '\xb8', 'Ecirc' => '\xca', 'not' => '\xac', - 'amp' => '&', 'AElig' => '\xc6', 'oslash' => '\xf8', 'acute' => '\xb4', 'lceil' => '⌈', - 'laquo' => '\xab', 'shy' => '\xad', 'rdquo' => '”', 'ge' => '≥', |