Change dependency on nokogiri and htmlentities