added ability to paste html and render it in the chat, multiline text also supported