diff --git a/ecrire/typographie/en.php b/ecrire/typographie/en.php
index 33fb2729db4a6b4a1bc93c3d3e970e1480e748fe..260e544814339d4e912c74a4526079051a69d4be 100644
--- a/ecrire/typographie/en.php
+++ b/ecrire/typographie/en.php
@@ -19,7 +19,7 @@ if (!defined('_ECRIRE_INC_VERSION')) {
 function typographie_en_dist($letexte) {
 
 	// zouli apostrophe
-	$letexte = str_replace("'", "’", $letexte);
+	$letexte = str_replace("'", '’', $letexte);
 
 	$cherche1 = array(
 		'/ --?,/S'
@@ -29,8 +29,8 @@ function typographie_en_dist($letexte) {
 	);
 	$letexte = preg_replace($cherche1, $remplace1, $letexte);
 
-	$letexte = str_replace(" ", "~", $letexte);
-	$letexte = preg_replace("/ *~+ */", "~", $letexte);
+	$letexte = str_replace(' ', '~', $letexte);
+	$letexte = preg_replace('/ *~+ */', '~', $letexte);
 
 	$cherche2 = array(
 		'/([^-\n]|^)--([^-]|$)/',
diff --git a/ecrire/typographie/fr.php b/ecrire/typographie/fr.php
index 307b949af83e810347043e71533f74b0e6608a34..ccc331d3ff2f14d140fc9bd26b1f716b7072b264 100644
--- a/ecrire/typographie/fr.php
+++ b/ecrire/typographie/fr.php
@@ -24,20 +24,20 @@ function typographie_fr_dist($letexte) {
 	// 147 = ldquo; 148 = rdquo; ' = zouli apostrophe
 	if (!$trans) {
 		$trans = array(
-			"'" => "’",
-			" " => "~",
-			"»" => "»",
-			"«" => "«",
-			"”" => "”",
-			"“" => "“",
-			"°" => "°"
+			"'" => '’',
+			' ' => '~',
+			'»' => '»',
+			'«' => '«',
+			'”' => '”',
+			'“' => '“',
+			'°' => '°'
 		);
 		$chars = array(160 => '~', 187 => '»', 171 => '«', 148 => '”', 147 => '“', 176 => '°');
 		$chars_trans = array_keys($chars);
 		$chars = array_values($chars);
 		$chars_trans = implode(' ', array_map('chr', $chars_trans));
 		$chars_trans = unicode2charset(charset2unicode($chars_trans, 'iso-8859-1', 'forcer'));
-		$chars_trans = explode(" ", $chars_trans);
+		$chars_trans = explode(' ', $chars_trans);
 		foreach ($chars as $k => $r) {
 			$trans[$chars_trans[$k]] = $r;
 		}
@@ -66,7 +66,7 @@ function typographie_fr_dist($letexte) {
 		'\0~'
 	);
 	$letexte = preg_replace($cherche1, $remplace1, $letexte);
-	$letexte = preg_replace("/ *~+ */S", "~", $letexte);
+	$letexte = preg_replace('/ *~+ */S', '~', $letexte);
 
 	$cherche2 = array(
 		'/([^-\n]|^)--([^-]|$)/S',