html escape the log file first to preserve any html output