add rudimentary support for textarea inputs