1
0
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:
Cameron
2015-04-09 20:15:20 -07:00
parent 87f2b22241
commit fd12d59d12
5 changed files with 54 additions and 9 deletions

View File

@@ -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;