diff options
Diffstat (limited to 'function.inc')
-rw-r--r-- | function.inc | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/function.inc b/function.inc index ff03936d5..0ff35e5a8 100644 --- a/function.inc +++ b/function.inc @@ -29,14 +29,9 @@ function FixQuotes ($what = "") { return $what; } -function check_html($message) { - ## TODO - return $message; -} - -function filter_text($message, $strip="") { - ### TODO - return check_html($text, $strip); +function check($message) { + include "config.inc"; + return strip_tags(nl2br($message), $allowed_html); } function discussion_num_replies($id, $count = 0) { |