add dir for images and html
.input is a textarea