title: display line breaks asp.net mvc razor
body: <p>I'm using the following to make the text output the line breaks entered in a <code>&lt;textarea&gt;</code> HTML element.</p>
  
  <pre><code>MvcHtmlString.Create(Model.Post.Description.Replace(Environment.NewLine, "&lt;br /&gt;"))
  </code></pre>
  
  <p>Is there a nicer way to do this? </p>