Item12993:Item13134: working around deficiencies

... of HTML::Tidy