Have you independently confirmed that these really are multiple newlines? Perhaps each line starts with "==bla bla" but is then followed by hundreds of blanks, so your editor is simply line wrapping until it finds a newline char?
Some editors (e.g. vi) would display such lines very much as you describe. It's always worthwhile to start with the obvious.