From f1e17b1707ff1e0f8fafc2a5eae095332c0e8f48 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Thu, 9 Sep 2010 02:00:54 -0700 Subject: [PATCH] undo debug statements --- include/items.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/items.php b/include/items.php index a66aeff472..a4521eddaa 100644 --- a/include/items.php +++ b/include/items.php @@ -233,7 +233,6 @@ function get_atom_elements($item) { // html. -echo "test1" . $res['body']; if(strpos($res['body'],'<')) { $res['body'] = preg_replace('#]+>.+?' . 'http://www.youtube.com/((?:v|cp)/[A-Za-z0-9\-_=]+).+?#s', @@ -249,10 +248,10 @@ echo "test1" . $res['body']; $purifier = new HTMLPurifier($config); $res['body'] = $purifier->purify($res['body']); } -echo "test2" . $res['body']; + $res['body'] = html2bbcode($res['body']); -echo "test3" . $res['body']; + $allow = $item->get_item_tags(NAMESPACE_DFRN,'comment-allow'); if($allow && $allow[0]['data'] == 1)