cleanup code
depend on HTML::Escape and remove deps of HTML::Entities