HTML entity encoding and decoding for Ruby
The HTMLEntities module facilitates encoding and decoding of
(X)HTML entities from/to their corresponding UTF-8 codepoints.
To install (requires root/admin privileges):
Alternatively, you can just use the gem.
This code is free to use under the terms of the MIT licence:
Copyright (c) 2007 Paul Battley
== Licence (MIT)
Copyright (c) 2005-2006 Paul Battley
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit