in reply to Save parsed text to file
See HTML::TokeParser::get_trimmed_text
Any entities will be converted to their corresponding character... ( HTML::Entities ) ...Leading and trailing white space is removed.
hth,PooLpi