Skip to content

Commit

Permalink
Add back missing clean
Browse files Browse the repository at this point in the history
  • Loading branch information
justusdieckmann committed Jul 24, 2024
1 parent ac244ed commit 3070327
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1451,8 +1451,7 @@ function moodleoverflow_print_post($post, $discussion, $moodleoverflow, $cm, $co
$mustachedata->withinreviewperiod = $reviewable;

// Prepare the post.
$options = (array) portfolio_format_text_options() + ['context' => $modulecontext];
$mustachedata->postcontent = format_text($post->message, $post->messageformat, $options);
$mustachedata->postcontent = format_text($post->message, $post->messageformat, ['context' => $modulecontext]);

// Load the attachments.
$mustachedata->attachments = get_attachments($post, $cm);
Expand Down

0 comments on commit 3070327

Please sign in to comment.