Hello, On the question edit screen, After clicking the "Save changes" button, we get a long script instead of a graph. Version: 1.12.0, Moodle 4.5 <img width="426" height="166" alt="Image" src="https://github.com/user-attachments/assets/679ef5e9-70f8-4833-a667-01b0962a4700" /> Before <img width="934" height="873" alt="Image" src="https://github.com/user-attachments/assets/e1a877ce-d22b-402c-ab01-f070c119846a" /> After <img width="998" height="829" alt="Image" src="https://github.com/user-attachments/assets/fa4a5c55-11ef-46b6-ba6b-aa1dbd3eb17b" />
Hello,
On the question edit screen,
After clicking the "Save changes" button, we get a long script instead of a graph.
Version: 1.12.0, Moodle 4.5
Before

After
