Skip to content
Snippets Groups Projects
Commit df1128bd authored by Pavel Břoušek's avatar Pavel Břoušek Committed by Dominik Baránek
Browse files

fix: update usage of commonmark library

parent 8caa149f
No related branches found
No related tags found
No related merge requests found
...@@ -151,10 +151,10 @@ if (!empty($wayfConfig['footer']['format']) && $wayfConfig['footer']['format'] = ...@@ -151,10 +151,10 @@ if (!empty($wayfConfig['footer']['format']) && $wayfConfig['footer']['format'] =
foreach ($wayfConfig['footer']['sections'] as $key => $value) { foreach ($wayfConfig['footer']['sections'] as $key => $value) {
if (is_array($value)) { if (is_array($value)) {
foreach ($wayfConfig['footer']['sections'][$key] as $subKey => $subValue) { 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 { } 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.
Please register or to comment