why not just use tables? easier and looks better.
HTML doesnt like more than one space or tabs at all and because all server languages must be converted to HTML for the browser to show them, we hav 2 follow HTML's rules
There is 1 thing u can try. Enclose the output in <pre> & </pre> tags and it should display everything in the exact layout as in the source (ie - u dont need <br> tags....)
Hope that helps.
- Matt