Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Html entities in section titles are not being decoded #205

Open
iceripple opened this issue Mar 26, 2024 · 0 comments
Open

Html entities in section titles are not being decoded #205

iceripple opened this issue Mar 26, 2024 · 0 comments
Assignees
Labels

Comments

@iceripple
Copy link

Describe the bug
Special characters in section titles will be displayed as encoded entities in grid popups.
e.g. the title Safety & Security will be displayed as Safety & Security

To Reproduce
Steps to reproduce the behaviour:

  • set Use popup to "yes" in the "course format" section of a course
  • change a section title and add a character that will be html encoded, like &
  • when opening section popup, the title will be displayed with the special characters in their entity-encoded form.

Expected behaviour
The section tile should be displayed as entered.

Screenshots
image
image

Versions (please complete the following information):

  • Moodle: 4.1.9
  • Format: 401.2.2
  • Browser and version Safari, Firefox, Chrome (all current versions) on MacOS and Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants