Fix bug when working with Rails 3/Ruby 1.8.7
Make character encoding behaviour consistent in Ruby 1.9.2/1.9.3
Use Ruby 1.9's encoding support where available.
Deprecated HTMLEntities.encode_entities/decode_entities interface is now removed.
Fix issue where double-escaped entities were not correctly escaped. Bug reported by Christian Kruse.
Additional entities from Junya Ishihara.
Performance improvements.
Fixed error on Ruby 1.8.x when $KCODE was not set to "UTF8". Thanks to Benoit Larroque for the bug report.
Added benchmarking code and improved performance.
Now works with Ruby 1.9.1 and JRuby.
Reverted lazy loading of entity mappings as this is not thread-safe.
Finally removed the deprecated String#encode_entities and decode_entities methods.
Added :expanded charset -- the ~1000 SGML entities from ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/SGML.TXT (extra code by Philip (flip) Kromer <flip@infochimps.org>, entity info from John Cowan <cowan@ccil.org> #)
New instantiation-based interface (but legacy interface is preserved for compatibility.
Handles HTML4 as well as XHTML1 (the former lacks the ' entity).
Encodes basic entities numerically when :basic isn't specified and :decimal or :hexadecimal is.
Performs a maximum of two gsub passes instead of three when encoding, which should be more efficient on long strings.
Now understands all the entities referred to in the XHTML 1.0 DTD (253 entities compared with 131 in version 3.0.1).
Calls to_s on parameters to play nicely with Rails 1.2.1.
Entity mapping data is now lazily loaded.
Improved documentation.
Changed licence to MIT due to confusion with previous 'Fair' licence (my intention was to be liberal, not obscure).
Moved basic functionality out of String class; for previous behaviour, require 'htmlentities/string'.
Changed version numbering scheme.
Now available as a Gem.
Important bug fixes -- thanks to Moonwolf.
Decoding hexadecimal entities now accepts 'f' as a hex digit. (D'oh!)
Decimal decoding edge cases addressed.
Test cases added.
Removed some unnecessary code in basic entity encoding.
Improved handling of encoding: commands are now automatically sorted, so the user doesn't have to worry about their order.
Now using setup.rb.
Tests moved to separate file.
Added encoding to entities.
Decoding interface unchanged.
Fixed a bug with handling high codepoints.
Initial release.
Decoding only.
Generated with the Darkfish Rdoc Generator 2.