adjust tests

This could really use some more tests but this has to suffice for now.
This commit is contained in:
Andreas Gohr
2024-02-27 15:54:14 +01:00
parent 28af4b6776
commit 1eeb87d74f
6 changed files with 321 additions and 410 deletions

View File

@@ -210,7 +210,7 @@ class Output
$link['title'] = $renderer->_xmlEntities($link['url']);
if ($conf['relnofollow']) $link['more'] .= ' rel="nofollow"';
[$ext,] = mimetype(basename($item['local']));
$link['class'] .= ' mediafile mf_' . $ext;
$link['class'] = 'media mediafile mf_' . $ext;
$renderer->doc .= $renderer->_formatLink($link);
}