@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | $replacement = str_replace('{{extrait', '{{Citation bloc', $template); |
44 | 44 | echo ">".$replacement."\n"; |
45 | 45 | $newText = str_replace($template, $replacement, $newText); |
46 | - }else{ |
|
46 | + } else { |
|
47 | 47 | // {Début citation} et {{Fin citation}} |
48 | 48 | $replacement = str_replace('{{extrait|', '{{Début citation}}', $template.'{{Fin citation}}'); |
49 | 49 | echo ">".$replacement."\n"; |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | $ask = readline("*** ÉDITION ? [y/n]"); |
61 | - if( 'y' !== $ask){ |
|
61 | + if ('y' !== $ask) { |
|
62 | 62 | continue; |
63 | 63 | } |
64 | 64 |
@@ -43,7 +43,7 @@ |
||
43 | 43 | $replacement = str_replace('{{extrait', '{{Citation bloc', $template); |
44 | 44 | echo ">".$replacement."\n"; |
45 | 45 | $newText = str_replace($template, $replacement, $newText); |
46 | - }else{ |
|
46 | + } else{ |
|
47 | 47 | // {Début citation} et {{Fin citation}} |
48 | 48 | $replacement = str_replace('{{extrait|', '{{Début citation}}', $template.'{{Fin citation}}'); |
49 | 49 | echo ">".$replacement."\n"; |