Skip to content
Extraits de code Groupes Projets
Valider bc6d1586 rédigé par Fil's avatar Fil
Parcourir les fichiers

ah le bug... & #147; et & #148; sont justement des caracteres interdits, a...

ah le bug... & #147; et & #148; sont justement des caracteres interdits, a remplacer par & #8220; et 8221 !
parent 081606f3
Branches
Étiquettes
Aucune requête de fusion associée trouvée
...@@ -462,11 +462,11 @@ function typo_fr($letexte) { ...@@ -462,11 +462,11 @@ function typo_fr($letexte) {
" " => "~", " " => "~",
"»" => "»", "»" => "»",
"«" => "«", "«" => "«",
"”" => "”", "”" => "”",
"“" => "“", "“" => "“",
"°" => "°" "°" => "°"
); );
$chars = array(160 => '~', 187 => '»', 171 => '«', 148 => '”', 147 => '“', 176 => '°'); $chars = array(160 => '~', 187 => '»', 171 => '«', 148 => '”', 147 => '“', 176 => '°');
$chars_trans = array_keys($chars); $chars_trans = array_keys($chars);
$chars = array_values($chars); $chars = array_values($chars);
$chars_trans = implode(' ',array_map('chr',$chars_trans)); $chars_trans = implode(' ',array_map('chr',$chars_trans));
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter