Skip empty lines & remove unneeded <p>'s.