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

Ampersand in 2 activities title crashes learningmap #85

Open
gmanaud opened this issue Dec 18, 2023 · 0 comments · May be fixed by #118
Open

Ampersand in 2 activities title crashes learningmap #85

gmanaud opened this issue Dec 18, 2023 · 0 comments · May be fixed by #118
Assignees

Comments

@gmanaud
Copy link

gmanaud commented Dec 18, 2023

Hi,

Ampersand sign (&) in title of 2 activities that was used in learning map crashes the activity learning map upon saving the learningmap activity. Image vanishes, can't be re-uploaded. Learningmap activity had to be deleted and set up from start after removing the ampersand in the name of activities.

Problem reported with Moodle 4.1.6 and learningmaps 0.9.5.2
Adding 2 activities with a & in each activity crashes the learningmap activity

Example:
create an activity (page for example) named "&1"
create an other activity named "&2"
create a learningmap activity and add the activity &1 and &2 at the same time

Note that you can add the 2 activities separatly (add &1, save, add &2, save): in this case, the learningmap activity doesn't crash.

Originally posted by @gmanaud in #74 (comment)

@sh-csg sh-csg self-assigned this Jan 2, 2025
@sh-csg sh-csg linked a pull request Jan 2, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants