diff --git a/admin/index.php b/admin/index.php index caf16fa..915963d 100644 --- a/admin/index.php +++ b/admin/index.php @@ -66,10 +66,15 @@ if ($user->isAuthenticated()) { $_POST["description"] = addslashes($_POST["description"]); } + /* $textile = new Textile(); $_POST["title"] = $textile->TextileThis(removeBadTags($_POST["title"],true)); $_POST["description"] = $textile->TextileThis(removeBadTags($_POST["description"])); + */ + + $_POST["title"] = removeBadTags($_POST["title"],true); + $_POST["description"] = removeBadTags($_POST["description"]); if (isset($_POST["id_post"])) { $tumble->modifyPost($_POST, $_POST["id_post"]); @@ -112,12 +117,29 @@ if ($user->isAuthenticated()) { if($conf->richText) { ?> - + + + + + + + + + +