sanitizing singlehtml toc