title: Laravel 4 - Reversing Markdown for Textarea Editing
body: <p>I am using a Markdown package inside my Laravel 4 application to store user input from textareas into my DB.</p>
  
  <p><a href="https://github.com/vtalbot/markdown" rel="nofollow">https://github.com/vtalbot/markdown</a></p>
  
  <p>This works perfectly using:</p>
  
  <pre><code>Markdown::string('#test');
  </code></pre>
  
  <p>However, when I edit a record and set the value of a textarea to the existing data in the DB (the data that was formatted for entry), elements such as P tags are shown, which isn't ideal.</p>
  
  <p>Does anyone know of a way to "reverse" markdown for this? Maybe I should be approaching this differently?</p>
  
  <p>Thanks.</p>