remove extraneous html line breaks from marked-up text