decode html, removed empty paragraphs