-
Notifications
You must be signed in to change notification settings - Fork 1
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
Images are not shown in output #66
Comments
Thank you for notifying me. Images form submissions that worked correctly in the past are also gone (e.g. https://dodona.ugent.be/nl/submissions/11622640/), but the code from the judge didn't change. This leads me to believe this is a Dodona issue. |
Summary of slack discussion:
I suggest to render svg's inline instead of as an image. This allows for proper sanitizing by rails. |
In the code png versions of the images are calculated but never used, so using this might be an option as well if simply inlining the svg does not work. (But inlining the svg still seems prefered as it would also lower complexity of the judge) Lines 71 to 94 in 3f3ba3d
|
The |
When submitting solutions for the Turtle judge, I can't seem to get the images to work:
Tested in both Firefox and Chrome.
(Not entirely sure if this is a turtle judge issue or a Dodona issue, but I'll move the issue to the correct repo if necessary)
The text was updated successfully, but these errors were encountered: