Conversion of text field value to HTML