diff --git a/cont/recipe.php b/cont/recipe.php index cacb39b..cb9565e 100644 --- a/cont/recipe.php +++ b/cont/recipe.php @@ -2,6 +2,7 @@ getRecipe($_GET["number"]); $recipe = $book->sites[0]; @@ -17,9 +18,13 @@ } echo ""; echo "
$paragraph
"; - } + $parsedown = new Parsedown; + // var_dump($recipe->Beschreibung); + echo $parsedown->text($recipe->Beschreibung); + // foreach(explode("\r\n", $recipe->Beschreibung) as $paragraph){ + // echo "$paragraph
"; + // } + ?>