diff --git a/filter/tidy/filter.php b/filter/tidy/filter.php index d96c0090c44..c12778f8d43 100644 --- a/filter/tidy/filter.php +++ b/filter/tidy/filter.php @@ -39,7 +39,7 @@ function tidy_filter($courseid, $text) { /// If enabled: run tidy over the entire string if (function_exists('tidy_repair_string')){ - $text = tidy_repair_string($text, $tidyoptions); + $text = tidy_repair_string($text, $tidyoptions, 'utf8'); } return $text;