mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 04:33:13 +01:00
MDL-32226 plagiarism: add span around links.
Make it easier for Mobile app to parse.
This commit is contained in:
parent
f85364c1ea
commit
17ee54fcda
@ -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 '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user