I'm using a form with a tag. When the form is submitted, I want to output the value of the textarea as html, but converting the newlines to tags *only* in the display, not the actual data. The html.nl2br function appears to do what I want, but it alters the data. Meaning, I'm resubmitting the data back into another form but it has tags in it. I basically pass the textarea data back to another form as a hidden . The hidden input is getting tags. in it.