@@ -80,9 +80,9 @@ discard block |
||
| 80 | 80 | if (lire_fichier($source, $skel)) { |
| 81 | 81 | $compiler = charger_fonction('compiler', 'public'); |
| 82 | 82 | $skel_code = $compiler($skel, $nom, $gram, $source, $connect); |
| 83 | + } else { |
|
| 84 | + $skel_code=''; |
|
| 83 | 85 | } |
| 84 | - else |
|
| 85 | - $skel_code=''; |
|
| 86 | 86 | |
| 87 | 87 | // Ne plus rien faire si le compilateur n'a pas pu operer. |
| 88 | 88 | if (!$skel_code) { |
@@ -359,10 +359,12 @@ discard block |
||
| 359 | 359 | |
| 360 | 360 | // et reparagrapher si necessaire (coherence avec le cas descriptif) |
| 361 | 361 | // une introduction a tojours un <p> |
| 362 | - if ($GLOBALS['toujours_paragrapher']) // Fermer les paragraphes |
|
| 362 | + if ($GLOBALS['toujours_paragrapher']) { |
|
| 363 | + // Fermer les paragraphes |
|
| 363 | 364 | { |
| 364 | 365 | $texte = paragrapher($texte, $GLOBALS['toujours_paragrapher']); |
| 365 | 366 | } |
| 367 | + } |
|
| 366 | 368 | |
| 367 | 369 | return $texte; |
| 368 | 370 | } |