Do not remove empty lines in parse event. Insert br only if not IE.