support linebreaks and urls in text input, fix #56