Fixed pasting of HTML, preserving visuals as best as possible