Skip to content
Extraits de code Groupes Projets
Valider c7c6f081 rédigé par ARNO*'s avatar ARNO*
Parcourir les fichiers

Pas d'option "clean", qui change trop le contenu des pages.

parent 65c92180
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -87,13 +87,16 @@ function xhtml ($buffer) {
fputs($f, $buffer);
fclose($f);
exec("$tidy_command --char-encoding $enc_char --quote-nbsp false --show-body-only false --clean true --indent true --wrap false --output-xhtml true --add-xml-decl false -m $nomfich");
exec("$tidy_command --char-encoding $enc_char --quote-nbsp false --show-body-only false --indent true --wrap false --output-xhtml true --add-xml-decl false -m $nomfich");
$tidy = join(file($nomfich),"");
@unlink($nomfich);
$tidy = echappe_retour($tidy, $les_echap, "xhtml");
$tidy = ereg_replace ("\<\?xml([^\>]*)\>", "", $tidy);
//$tidy = ereg_replace ("\/\*\<\!\[CDATA\[\*\/\n*", "", $tidy);
//$tidy = ereg_replace ("\/\*\]\]>\*\/", "", $tidy);
return $tidy;
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter