From 45d5aad6dfde192ef5b986f3233a41f15d035f24 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 24 May 2003 16:26:13 +0000 Subject: - Updated Drupal to use "on output" filters. Derived from Gerhard's patch. --- includes/common.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'includes/common.inc') 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, "") == $text) { $text = nl2br($text); } -- cgit v1.2.3