-
Improvement
-
Resolution: Fixed
-
Minor
-
3.1.4, 3.2.1
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_34_STABLE
-
master_
MDL-57886 -
the plagiarism api receives raw "content" from the event that is triggered
'content' => trim($data->onlinetext),
|
|
$event = \assignsubmission_onlinetext\event\assessable_uploaded::create($params);
|
but in get_links we are passing formatted stuff from the renderer - (including portfolio buttons)
$text = $this->assignment->render_editor_content
|
...
|
'content' => trim($text),
|
this should really be consistent and we should pass the raw text to the get_links() function in view_summary probably by replacing trim($text) to trim($onlinetextsubmission->onlinetext)