diff --git a/inclure/entravaux.html b/inclure/entravaux.html index a53a989c081a89f3f5442b0f62d3728a5573cc1e..ec930324994814780f1d2a0d80fc76c5f6d4d619 100644 --- a/inclure/entravaux.html +++ b/inclure/entravaux.html @@ -12,7 +12,7 @@ <meta property="og:url" content="[(#SELF|url_absolue)]" /> <meta property="og:site_name" content="[(#NOM_SITE_SPIP|textebrut)]" /> [<meta property="og:description" content="(#DESCRIPTIF_SITE_SPIP|supprimer_tags|attribut_html)" />] -<meta property="og:locale" content="[(#LANG|strtolower)]_[(#LANG|strtoupper)]" /> +<meta property="og:locale" content="[(#LANG|mb_strtolower)]_[(#LANG|mb_strtoupper)]" /> [(#SET{logoreseauxsociaux,[(#LOGO_RUBRIQUE_NORMAL|sinon{#CHEMIN{images/nature-2683474_1920.jpg}}|image_focus{600,600}|extraire_attribut{src}|url_absolue)]})] [<meta property="og:image" content="(#GET{logoreseauxsociaux,#CHEMIN{images/1.gif}})" />] diff --git a/noisettes/header/header.html b/noisettes/header/header.html index 7e4ceb6ef553f4dbd687b62df67607bb36741c74..a1ce3c4adeaa9e9c7f10b595b950576e5fb61e3f 100644 --- a/noisettes/header/header.html +++ b/noisettes/header/header.html @@ -86,7 +86,7 @@ CancelMonitorTextSize = false; [<meta property="og:image" content="(#GET{logoreseauxsociaux,#CHEMIN{images/1.gif}})" />] <meta property="og:site_name" content="[(#NOM_SITE_SPIP|textebrut)]" /> [<meta property="og:description" content="(#ENV{metadescription,[(#DESCRIPTIF_SITE_SPIP|supprimer_tags|attribut_html)]}|couper{150})" />] -<meta property="og:locale" content="[(#LANG|strtolower)]_[(#LANG|strtoupper)]" /> +<meta property="og:locale" content="[(#LANG|mb_strtolower)]_[(#LANG|mb_strtoupper)]" /> [(#REM) Twitter card] <meta property="twitter:card" content="summary_large_image" /> <meta property="twitter:url" content="[(#SELF|url_absolue)]" /> diff --git a/soyezcreateurs_fonctions.php b/soyezcreateurs_fonctions.php index f6bcd198674f851149363032fc9cf5905902daf3..6cc23610e5154e96f23de0e2fa0a5701d5a61ac9 100644 --- a/soyezcreateurs_fonctions.php +++ b/soyezcreateurs_fonctions.php @@ -136,7 +136,7 @@ function sc_nettoyer_marqueur($texte) { $texte = preg_replace("#Â #", "_", $texte); $texte = preg_replace("#\s#", "_", $texte); $texte = preg_replace("#_+#", "_", $texte); - return strtolower($texte); + return mb_strtolower($texte); } /* à appliquer au #TEXTE de forum */