]> git.mxchange.org Git - friendica.git/blobdiff - include/items.php
Merge pull request #983 from annando/master
[friendica.git] / include / items.php
index 2f03818a76bae0e2099df620a75016a04ec6f1b5..76bcbc7b24120d39216ce49a42140427a7e19436 100755 (executable)
@@ -1007,9 +1007,9 @@ function item_store($arr,$force_parent = false) {
        }
 
        // Shouldn't happen but we want to make absolutely sure it doesn't leak from a plugin.
-
-       if((strpos($arr['body'],'<') !== false) || (strpos($arr['body'],'>') !== false))
-               $arr['body'] = strip_tags($arr['body']);
+       // Deactivated, since the bbcode parser can handle with it - and it destroys posts with some smileys that contain "<"
+       //if((strpos($arr['body'],'<') !== false) || (strpos($arr['body'],'>') !== false))
+       //      $arr['body'] = strip_tags($arr['body']);
 
 
        if (version_compare(PHP_VERSION, '5.3.0', '>=')) {