\s*Contenu<\/span>\s*\s*(.*)<\/span>\s*<\/div>\s*$~mis';
$matches = [];
$content = preg_match($pattern, $content, $matches) ? $matches[1] : $content;
if ($GLOBALS['wiki']->config['lms_config']['display_activity_title']) {
$content = str_replace('BAZ_fiche_titre', 'activity-title', $html['bf_titre'])."\n".$content;
}
echo $content;
if (!empty($html['reactions']))
echo $html['reactions'];
if (!empty($html['bf_navigation']))
echo $html['bf_navigation'];
?>