mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-05 04:37:51 +02:00
Gelato Html - W3 Fixes #189
This commit is contained in:
@@ -285,7 +285,7 @@ class Html
|
|||||||
$attributes['src'] = $file;
|
$attributes['src'] = $file;
|
||||||
$attributes['alt'] = (isset($attributes['alt'])) ? $attributes['alt'] : pathinfo($file, PATHINFO_FILENAME);
|
$attributes['alt'] = (isset($attributes['alt'])) ? $attributes['alt'] : pathinfo($file, PATHINFO_FILENAME);
|
||||||
|
|
||||||
return '<img'.Html::attributes($attributes).' />';
|
return '<img'.Html::attributes($attributes).'>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user