mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +02:00
weblib: Fix typo in print_table() which was causing invalid <th> tag
MDL-11506
This commit is contained in:
parent
40e473bfe1
commit
2bba926db0
@ -4594,9 +4594,7 @@ function print_table($table, $return=false) {
|
||||
$align[$key] = '';
|
||||
}
|
||||
|
||||
$output .= '<th class="header c'.$key.'" scope="col">'. $heading .'</th>';
|
||||
// commenting the following code out as <th style does not validate MDL-7861
|
||||
//$output .= '<th sytle="vertical-align:top;'. $align[$key].$size[$key] .';white-space:nowrap;" class="header c'.$key.'" scope="col">'. $heading .'</th>';
|
||||
$output .= '<th style="vertical-align:top;'. $align[$key].$size[$key] .';white-space:nowrap;" class="header c'.$key.'" scope="col">'. $heading .'</th>';
|
||||
}
|
||||
$output .= '</tr>'."\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user