diff options
author | Dries Buytaert <dries@buytaert.net> | 2000-09-26 07:34:33 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2000-09-26 07:34:33 +0000 |
commit | 5fc99970ab49ea5e7a7d91f49ad885c0ab30a6c7 (patch) | |
tree | 395dadf974d81a0a603f79f7879ae1e91b193dec /function.inc | |
parent | 6ca7f1e2f3536cc2713944d70264cf01d135f1c8 (diff) | |
download | brdo-5fc99970ab49ea5e7a7d91f49ad885c0ab30a6c7.tar.gz brdo-5fc99970ab49ea5e7a7d91f49ad885c0ab30a6c7.tar.bz2 |
I just commit everything what was queued in my backlog:
- Added a basic implementation of comment moderation
- Updated and renamed my 2 themes: I removed redundant boxes and tried to
work towards simplicity.
- Disabled the other themes as they are broken (I gave you sufficent time
to update them).
- Removed redundant files.
- Added security checks with regard to the usage of HTML tags.
Diffstat (limited to 'function.inc')
-rw-r--r-- | function.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/function.inc b/function.inc index 0ff35e5a8..d2f0d6458 100644 --- a/function.inc +++ b/function.inc @@ -31,7 +31,7 @@ function FixQuotes ($what = "") { function check($message) { include "config.inc"; - return strip_tags(nl2br($message), $allowed_html); + return nl2br(strip_tags($message, $allowed_html)); } function discussion_num_replies($id, $count = 0) { |