From dfc9e209a5328edd2aab7abc3d5562db3d7ade32 Mon Sep 17 00:00:00 2001 From: msquare Date: Wed, 9 Nov 2016 19:25:55 +0100 Subject: fix parsedown --- includes/view/AngelTypes_view.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/view/AngelTypes_view.php') diff --git a/includes/view/AngelTypes_view.php b/includes/view/AngelTypes_view.php index db21efda..53396a05 100644 --- a/includes/view/AngelTypes_view.php +++ b/includes/view/AngelTypes_view.php @@ -264,6 +264,8 @@ function AngelTypes_list_view($angeltypes, $admin_angeltypes) { * Renders the about info for an angeltype. */ function AngelTypes_about_view_angeltype($angeltype) { + $parsedown = new Parsedown(); + $html = '

' . $angeltype['name'] . '

'; if (isset($angeltype['user_angeltype_id'])) { @@ -303,7 +305,6 @@ function AngelTypes_about_view($angeltypes, $user_logged_in) { '

' . _("Here is the list of teams and their tasks. If you have questions, read the FAQ.") . '

', '
' ]; - $parsedown = new Parsedown(); foreach ($angeltypes as $angeltype) { $content[] = AngelTypes_about_view_angeltype($angeltype); } -- cgit v1.2.3-54-g00ecf