fixes #2242 - concatenate HTML errors, don't use Array#to_s on Ruby 1.9