I have a textarea as part of a form. I don`t want to allow html in the textarea but I do want line breaks to be preserved. How do I go about this?
i.e. if someone types
"
hello
my name
is
bob
"
I want the line breaks to be preserved when the email is sent but at present the output will be "hello my name is bob"
I presume I need to add something to request.form("body") to achieve what I want? Maybe replace, but what do I replace on?
i.e. if someone types
"
hello
my name
is
bob
"
I want the line breaks to be preserved when the email is sent but at present the output will be "hello my name is bob"
I presume I need to add something to request.form("body") to achieve what I want? Maybe replace, but what do I replace on?