INGInious
INGInious copied to clipboard
[frontend/task statement] RST directive not displaying the expected image
Describe the bug
When inserting an image in the task statement (using RST directive, e.g. .. image:: task_id/img.png
), deleting the image file locally and replacing it by another one with the same name, the RST directive is still displaying the old image instead, as if it were cached.
INGInious installation details
- Version: v.0.8.5
To Reproduce
Steps to reproduce the behavior:
- Insert an image inside the
public
folder of a task. - Use the
.. image::
directive to display the image in the task statement. - Delete the image and replace it by another one with the same name.
- Refresh the page - the old, deleted image is still showing instead of the newly inserted one.
Expected behavior
The current image stored inside the public
folder to be displayed, not the old one that has been deleted locally.
Desktop (please complete the following information):
- OS: Windows
- Browser: Vivaldi