title: On post the string contains /r/n when enter is pressed
body: <p>on my website when ever a user posts something and there is a enter button pressed in his post the post contains /r/n instead. This is the code i use</p>
  
  <pre><code>function validate_disclose($disclose)
  {
      $stars = "****************************************************";
      $disclose = sanitize($disclose);
      $notallowed = array("fucked","stupid");
      foreach($notallowed as $bad){
          $disclose = str_ireplace($bad, substr($stars, 0, strlen($bad)), $disclose); // mixed case in i replace
      }
      return $disclose;
  }
  </code></pre>