From 5aeaeb575f72fe17ed2b4d24ad396f1ac292d9f1 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 13 Jan 2005 07:55:24 +0000 Subject: [PATCH] Removed valign attribute from tag for XHTML compatibility --- lib/weblib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 0eaf75361d..963c785590 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -2413,11 +2413,11 @@ function make_table($table) { $fontsize = ''; } - $output = '
width .'" align="'. $table->tablealign .'" '; $output .= ' cellpadding="'. $table->cellpadding .'" cellspacing="'. $table->cellspacing .'" class="'. $table->class .'">'."\n"; if (!empty($table->head)) { - $output .= ''; + $output .= ''; foreach ($table->head as $key => $heading) { if (!isset($size[$key])) { $size[$key] = ''; -- 2.39.5