We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6626849 commit 29d63aaCopy full SHA for 29d63aa
inc/parser/metadata.php
@@ -724,7 +724,7 @@ protected function _firstimage($src)
724
if (!media_isexternal($src)) {
725
$src = (new \dokuwiki\File\MediaResolver($ID))->resolveId($src);
726
}
727
- if (preg_match('/.(jpe?g|gif|png)$/i', $src)) {
+ if (preg_match('/.(jpe?g|gif|png|webp|svg)$/i', $src)) {
728
$this->firstimage = $src;
729
730
0 commit comments