HTML log file gets converted from XSLT badly