Thanks, but I've tried viewing the output in text editors that recognize the UNIX end-of-line character, like TextPad and WordPad, and the result is the same - the HTML appears mainly on one line. Also, it's not just end-of-line characters that are removed; whitespace used for padding at the beginning of lines is removed as well.