diff --git a/course/edit.html b/course/edit.html
index 766c3ef49aa..c037a4f057d 100644
--- a/course/edit.html
+++ b/course/edit.html
@@ -156,6 +156,11 @@
}
$choices = $choices + $roles;
+
+ // fix for MDL-9197
+ foreach ($choices as $choiceid => $choice) {
+ $choices[$choiceid] = format_string($choice);
+ }
choose_from_menu ($choices, 'defaultrole', $form->defaultrole, '');
helpbutton("coursedefaultrole", get_string("defaultrole"));