mirror of
https://github.com/e107inc/e107.git
synced 2025-08-29 17:19:56 +02:00
HTML5 validation fixes.
This commit is contained in:
@@ -113,11 +113,19 @@ function tablestyle($caption, $text, $id='', $info=array())
|
||||
</div>';
|
||||
return;
|
||||
}
|
||||
|
||||
echo '<h2 class="caption">'.$caption.'</h2>
|
||||
|
||||
'.$text.'
|
||||
';
|
||||
|
||||
|
||||
|
||||
// default.
|
||||
|
||||
if(!empty($caption))
|
||||
{
|
||||
echo '<h2 class="caption">'.$caption.'</h2>';
|
||||
}
|
||||
|
||||
echo $text;
|
||||
|
||||
|
||||
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user