diff --git a/html/news.php b/html/news.php index c41ee534..1d0cc24a 100644 --- a/html/news.php +++ b/html/news.php @@ -64,10 +64,10 @@ if (filter_var($_GET['article'], FILTER_VALIDATE_INT)) { echo "
" . date('d/m/Y', $date) . "
"; echo "
" . $resultat[0]['auteur'] . "
"; echo "
" . $classifications[$resultat[0]['classification']] . "
"; + echo "
"; + echo $parsedown->text($markdownContent); + echo "
"; } - echo "
"; - echo $parsedown->text($markdownContent); - echo "
"; } else { $bdd = connect($dbhost, $dbname, $dbuser, $dbpass); $search = isset($_GET['search']) ? "'%" . htmlspecialchars($_GET['search']) . "%'" : "'%'";