In fact, further to my earlier post, I think Ihave a solution which will leave you with human readable HTML which renders correctly – find “n”, and replace it with ” n”. Basically leave the newlines, but add a space where they are. If the reader’s HTML renderer ignores newlines but renders spaces, and newlines should render as spaces adding a space where the newlines are should render just a space (rather than rendering a newline as a space which would have been correct behaviour), and the raw HTML file will still have it’s structure intact.