I’ve finally tied up all the loose ends and released a significantly updated version of my HTMLEntities library that deals with named (X)HTML entities in Ruby.

I’ve fixed a number of shortcomings and expanded the functionality at the same time. It can handle every entity defined in the DTD, and, consequently, it now knows the difference between HTML 4 and XHTML 1.0 entities. (For the record, there’s only one difference, which is that ' isn’t found in HTML 4.)

I’m glad to finally get this one out the door!

You can read the details on the HTMLEntities Rubyforge page.