- ensure HTML version is acutally HTML formatted - added valid text version fixes #6814 original issue #6748