title: str_replace for br tags not working
body: <p>I have a textarea field on a form that a user submit and it gets saved to a MySQL database.  When I retrieve the value, I'm running nl2br to convert the line breaks to br tags.  Then I'm using str_replace to replace the double br's with p tags.  The issue is nothing is being replaced.  I've looked at this over and over and just can't figure out what could be wrong.  </p>
  
  <p>Here's the HTML output:</p>
  
  <pre><code>Windows XP Home / Professional
  &lt;br /&gt;(32 and 64 bit)
  &lt;br /&gt;
  &lt;br /&gt;Test Operating System 2
  &lt;br /&gt;(32 and 64 bit)
  &lt;br /&gt;
  &lt;br /&gt;Test Operating System 3
  &lt;br /&gt;(64 bit)
  </code></pre>
  
  <p>Here's my PHP:</p>
  
  <pre><code>$FORMATTED = str_replace("&lt;br /&gt;&lt;br /&gt;", "&lt;/p&gt;&lt;p&gt;", $SUPPORTED_PLATFORMS);
  </code></pre>
  
  <p>The output of $FORMATTED looks exactly the same as the HTML output above.  I essentially want to replace all the back to back br tags with the p tag and leave all the single br tags the way they are.</p>
  
  <p>Thank you!!</p>