mirror of
https://github.com/getgrav/grav.git
synced 2026-07-07 11:11:51 +02:00
Fix Markdown image attr. 'loading'
This commit is contained in:
@@ -278,10 +278,10 @@ class Excerpts
|
||||
);
|
||||
}
|
||||
|
||||
$defaults = $config['images']['defaults'] ?? [];
|
||||
$defaults = $this->config['images']['defaults'] ?? [];
|
||||
if (count($defaults)) {
|
||||
foreach ($defaults as $method => $params) {
|
||||
if (!array_search($method, array_column($actions, 'method'))) {
|
||||
if (array_search($method, array_column($actions, 'method')) === false) {
|
||||
$actions[] = [
|
||||
'method' => $method,
|
||||
'params' => $params,
|
||||
|
||||
Reference in New Issue
Block a user