Yes it was regular expressions i was referring to when converting. Sorry - that wasnt clear.
However I dont know enough about code to tell from the inspect tool what it is you wanted to know.
However I managed to fix my problem my converting to TXT, opening in word, doing a find and replace on multiple paragraph marks. Re-converted back to epub and now it looks fine.
I'm sure there's a much quicker way but for now my problem has been fixed.