Changeset [a07609a96f59d9e7e3783528eb7fded0f0985050] by Doug Youch

April 4th, 2011 @ 04:58 PM

wow, what an error. Turns out using Nokogiri::HTML changes the behavior
of XML::Parser. Trying to set XML::Error.set_handler does not work once
Nokogiri::HTML() is used. Fix was to add the exception to the array if
the array was empty.

Committed by Doug Youch

  • M app/models/util/html_validator.rb
  • M spec/controllers/templates_controller_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins