Fix closing HTML tags in iframe and restore old value #212
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Im assignsubmission_qpy Plugin habe ich das Problem entdeckt, dass auf der Grading-Seite ein Fehler
JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 149319 of the JSON data
kommt. Das hängt mit der$OUTPUT->footer
Funktion zusammen, die die schließenden HTML-Tags</body></html>
in$CFG->closingtags
packt statt sie sofort auszugeben. Dadurch landen diese schließenden Tags nicht im iframe src sondern werden in diesem konkreten Fall an ein JSON angehängt, wo es nicht hingehört.