From affacdf508a3b5cc7f671a1c1252f63a2d2ac934 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 7 Jan 2003 19:21:28 +0000 Subject: - Added a few line breaks in the HTML emitted by the table() function for better readability of the HTML code. Patch by Moshe. --- includes/common.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/common.inc b/includes/common.inc index 4890b2776..611dc72c4 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -223,7 +223,7 @@ function table_cell($cell, $header = 0) { function table($header, $rows) { - $output .= ""; + $output .= "
\n"; /* ** Emit the table header: @@ -234,7 +234,7 @@ function table($header, $rows) { foreach ($header as $cell) { $output .= table_cell($cell, 1); } - $output .= " "; + $output .= " \n"; } /* @@ -253,11 +253,11 @@ function table($header, $rows) { foreach ($row as $cell) { $output .= table_cell($cell, 0); } - $output .= " "; + $output .= " \n"; } } - $output .= "
"; + $output .= "\n"; return $output; } -- cgit v1.2.3