diff --git a/src/main/java/org/olat/modules/lecture/ui/TeacherRollCallController.java b/src/main/java/org/olat/modules/lecture/ui/TeacherRollCallController.java index a25f3394d6294b957c9717c220f427855eb71d15..4d79e81dde4dfda767c517de4e77a61fec8c3d3d 100644 --- a/src/main/java/org/olat/modules/lecture/ui/TeacherRollCallController.java +++ b/src/main/java/org/olat/modules/lecture/ui/TeacherRollCallController.java @@ -153,7 +153,7 @@ public class TeacherRollCallController extends FormBasicController { List<Identity> teachers = lectureService.getTeachers(lectureBlock); for(Identity teacher:teachers) { if(sb.length() > 0) sb.append(", "); - sb.append(StringHelper.escapeJavaScript(userManager.getUserDisplayName(teacher))); + sb.append(StringHelper.escapeHtml(userManager.getUserDisplayName(teacher))); } Formatter formatter = Formatter.getInstance(getLocale());