title: Is there a web2py helper to convert a new line into a <br>?
body: <p>I have text which includes new lines entered into a form. I want to display the text exactly as it was entered - with the new lines.</p>
  
  <p>Just including the field value in the view of course does not do that - everything just appears on one line.</p>
  
  <p>I have found the solution below and many others which usually involve replacing the '\n' with 'br' or using 'pre'. 'pre' works fine for me.
  <a href="https://stackoverflow.com/questions/40824016/detecting-newline-character-on-users-input-web2py">Detecting newline character on user&#39;s input (web2py)</a></p>
  
  <p>But this seems a bit clumsy. Is there A web2py helper that converts a string with newlines into a HTML string with 'br' or even putting each line into its own 'p' tag? It seems like it would be a common and rather helpful Helper.</p>