From 0b76dea1f17b2aa1399f904980a1a2b60cfd6b13 Mon Sep 17 00:00:00 2001
From: Matthieu Marcillaud <marcimat@rezo.net>
Date: Fri, 16 Apr 2021 01:47:56 +0200
Subject: [PATCH] =?UTF-8?q?La=20team=20'nomenklatura'=20sugg=C3=A8re=20uni?=
 =?UTF-8?q?formiser=5Flabel=20=C3=A0=20la=20place=20de=20spip=5Fstr=5Flabe?=
 =?UTF-8?q?l.=20Le=20filtre=20enl=C3=A8ve=20notamment=20les=20":"=20et=20e?=
 =?UTF-8?q?spaces=20=C3=A0=20la=20fin=20d'une=20chaine=20de=20caract=C3=A8?=
 =?UTF-8?q?res.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/inc/filtres.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ecrire/inc/filtres.php b/ecrire/inc/filtres.php
index 8dbe834899..7edc2e2140 100644
--- a/ecrire/inc/filtres.php
+++ b/ecrire/inc/filtres.php
@@ -5274,9 +5274,9 @@ function identifiant_slug($texte, $type = '', $options = array()) {
  *
  * Utile afficher dans un contexte de titre des chaines de langues qui contiennent des ':'
  * 
- * @exemple `<:info_maximum|spip_str_label:>`
+ * @exemple `<:info_maximum|uniformiser_label:>`
  */
-function spip_str_label(string $text, bool $ucfirst = true) : string {
+function uniformiser_label(string $text, bool $ucfirst = true) : string {
 	$label = rtrim($text, " : \t\n\r\0\x0B\xc2\xa0");
 	if ($label and $label[-1] === ';') {
 		$label = preg_replace("#(\&nbsp;)+$#", "", $label);
-- 
GitLab