Try to retain line breaks when converting HTML to text (#880)