Skip to content

Commit

Permalink
MDL-72452 resource: Filter resource media embed output
Browse files Browse the repository at this point in the history
  • Loading branch information
Peterburnett committed Sep 2, 2021
1 parent 206023c commit 5414c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/resource/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function resource_display_embed($resource, $cm, $course, $file) {
$activitydates = \core\activity_dates::get_dates_for_module($cminfo, $USER->id);
echo $OUTPUT->activity_information($cminfo, $completiondetails, $activitydates);

echo $code;
echo format_text($code, FORMAT_HTML, ['noclean' => true]);

resource_print_intro($resource, $cm, $course);

Expand Down

0 comments on commit 5414c59

Please sign in to comment.