diff --git a/ecrire/inc_texte.php3 b/ecrire/inc_texte.php3
index c11ab81e7c043eae3349672ada9e466c8f6e060a..8e584a1c0b1d51264add3f448da89b5e43aa69f8 100644
--- a/ecrire/inc_texte.php3
+++ b/ecrire/inc_texte.php3
@@ -109,8 +109,6 @@ function spip_avant_typo ($letexte) {
 }
 
 function spip_apres_typo ($letexte) {
-	if (@function_exists('apres_typo'))
-		return apres_typo ($letexte);
 
 	// caracteres speciaux
 	$letexte = corriger_caracteres($letexte);
@@ -120,6 +118,9 @@ function spip_apres_typo ($letexte) {
 	if ($GLOBALS['flag_ecrire'] AND $GLOBALS['revision_nbsp'])
 		$letexte = ereg_replace('&nbsp;', '<span class="spip-nbsp">&nbsp;</span>', $letexte);
 
+	if (@function_exists('apres_typo'))
+		return apres_typo ($letexte);
+
 	return $letexte;
 }