MDL-32226 plagiarism: add span around links.

Make it easier for Mobile app to parse.
This commit is contained in:
Dan Marsden 2021-04-09 21:43:27 +12:00 committed by Eloy Lafuente (stronk7)
parent f85364c1ea
commit 17ee54fcda

View File

@ -47,7 +47,10 @@ function plagiarism_get_links($linkarray) {
$plagiarismplugin = new $plagiarismclass;
$output .= $plagiarismplugin->get_links($linkarray);
}
return $output;
if (!empty($output)) {
return html_writer::span($output, 'core_plagiarism_links');
}
return '';
}
/**