@@ -25,7 +25,7 @@ |
||
| 25 | 25 | } |
| 26 | 26 | try{ |
| 27 | 27 | $newText = $response->getBody()->getContents(); |
| 28 | -}catch (Throwable $e){ |
|
| 28 | +} catch (Throwable $e){ |
|
| 29 | 29 | dump($e); |
| 30 | 30 | die; |
| 31 | 31 | } |
@@ -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"; |