diff --git a/ecrire/inc_texte.php3 b/ecrire/inc_texte.php3 index f943c36c3a07000c21f440b46ba0f0ab885a8ebf..76305a79b396ee5166fe90ff503c6c05098af5af 100644 --- a/ecrire/inc_texte.php3 +++ b/ecrire/inc_texte.php3 @@ -705,11 +705,11 @@ function traiter_tableau($bloc) { // Attention thead oblige a avoir tbody else if (preg_match(',^(\|[[:space:]]*{{[^}]+}}[[:space:]]*)+$,ms', $ligne, $thead)) { - $debut_table .= "<thead>\n + $debut_table .= "<thead> <tr class='row_first'>". preg_replace(",[|]([^|]*),", "<th scope='col'>\\1</th>", $ligne) - ."</tr>\n"; + ."</tr></thead>\n"; $l = 0; } }