I am looking at using Tidy to clean up some html, but having a few
problems running it.
The gem seems to be installed ok,
But according to the rDoc I need to give the path of tidylib.so
I have 300 years experience in C and so files on Linux, and I couldn’t
that working either.
I only use Tidy in one place. When upgrading legacy HTML to RHTML, I
first, with the command line:
tidy -asxhtml -i -m myFile.html
That cleans up the style, so my assert_xml (generally) works safely on
Google for my street name and assert_tidy for a great wrapper, to help
test legacy RHTML files that are not clean enough for assert_xml.
“Test Driven Ajax (on Rails)”