mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 22:18:40 +00:00
minor style fixes
This commit is contained in:
parent
ce150dea48
commit
f3b0ff3756
|
|
@ -4149,7 +4149,7 @@ class Markdown
|
||||||
|
|
||||||
unset($block['li']);
|
unset($block['li']);
|
||||||
|
|
||||||
$text = isset($matches[1]) ? $matches[1] : '';
|
$text = $matches[1] ?? '';
|
||||||
|
|
||||||
$block['indent'] = $line['indent'];
|
$block['indent'] = $line['indent'];
|
||||||
|
|
||||||
|
|
@ -4487,7 +4487,6 @@ class Markdown
|
||||||
$element = \is_string($closure) ? $this->{$closure}($element) : $closure($element);
|
$element = \is_string($closure) ? $this->{$closure}($element) : $closure($element);
|
||||||
|
|
||||||
if (isset($element['elements'])) {
|
if (isset($element['elements'])) {
|
||||||
//$element['elements'] = $this->elementsApplyRecursive($closure, $element['elements']);
|
|
||||||
foreach ($element['elements'] as &$e) {
|
foreach ($element['elements'] as &$e) {
|
||||||
$e = $this->elementApplyRecursive($closure, $e);
|
$e = $this->elementApplyRecursive($closure, $e);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user