aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-09-09 02:00:54 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-09-09 02:00:54 -0700
commitf1e17b1707ff1e0f8fafc2a5eae095332c0e8f48 (patch)
tree983cf1ffe3cd355c18dce3adf75479e7292e6ce1 /include
parentc59948f1dc25a49d37f9744f6b643968cb2134da (diff)
downloadvolse-hubzilla-f1e17b1707ff1e0f8fafc2a5eae095332c0e8f48.tar.gz
volse-hubzilla-f1e17b1707ff1e0f8fafc2a5eae095332c0e8f48.tar.bz2
volse-hubzilla-f1e17b1707ff1e0f8fafc2a5eae095332c0e8f48.zip
undo debug statements
Diffstat (limited to 'include')
-rw-r--r--include/items.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/items.php b/include/items.php
index a66aeff47..a4521edda 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('#<object[^>]+>.+?' . 'http://www.youtube.com/((?:v|cp)/[A-Za-z0-9\-_=]+).+?</object>#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)