Skip to content
Snippets Groups Projects
Commit 39e2b78b authored by Pavel Břoušek's avatar Pavel Břoušek
Browse files

fix: update usage of commonmark library

parent 9a30b71d
No related branches found
No related tags found
1 merge request!31fix(deps): update dependency league/commonmark to v2
Pipeline #202930 passed
......@@ -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();
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment