added script to clean a HTML fragment string with Tidy.