A Ruby library to split an HTML document into tags and contents