- $banana = new ForumsBanana($forlife);
- $text = strip_tags($this->texte, '<p><br><li><ul><ol><a>');
- $text = preg_replace(',<a href="([^"]+)">(.*?)</a>,', '$1', $text);
- $text = preg_replace('/<li>/', '* ', $text);
- $text = preg_replace(',</?.+?>,i', "\n", $text);
- $text = preg_replace("/\n{2,}/", "\n\n", $text);