Sanitize the XHTML output by removing useless formatting chars