diff options
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc index 9ba97260f..35af870e2 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -555,6 +555,10 @@ function rewrite_old_urls($text) { function check_output($text) { if (isset($text)) { + // filter content on output: + $text = filter($text); + + // get the line breaks right: if (strip_tags($text, "<a><i><b><u><tt><code><cite><strong><img>") == $text) { $text = nl2br($text); } |