Steps to reproduce:
- Use the feature to rename roles in a course to (Or create new roles with these names):
- Studyer & learner
- Teacher >= editor
- Teacher < editor
- Go to Coure settings -> Users -> Permissions
- Click the + icon to add roles to a permission.
Expected result: It works.
Actual result: role names are double-escaped, so appear with & < and >