From 39e2b78b2a461bba597d3d4f82473863cf694b72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20B=C5=99ou=C5=A1ek?= <brousek@ics.muni.cz> Date: Mon, 24 Oct 2022 11:06:01 +0200 Subject: [PATCH] fix: update usage of commonmark library --- www/selectsource.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/selectsource.php b/www/selectsource.php index 7ff2b11..d259616 100644 --- a/www/selectsource.php +++ b/www/selectsource.php @@ -151,10 +151,10 @@ if (!empty($wayfConfig['footer']['format']) && $wayfConfig['footer']['format'] = foreach ($wayfConfig['footer']['sections'] as $key => $value) { if (is_array($value)) { foreach ($wayfConfig['footer']['sections'][$key] as $subKey => $subValue) { - $wayfConfig['footer']['sections'][$key][$subKey] = $converter->convertToHtml($subValue); + $wayfConfig['footer']['sections'][$key][$subKey] = $converter->convertToHtml($subValue)->getContent(); } } else { - $wayfConfig['footer']['sections'][$key] = $converter->convertToHtml($value); + $wayfConfig['footer']['sections'][$key] = $converter->convertToHtml($value)->getContent(); } } } -- GitLab