We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1191bc commit a5d5b66Copy full SHA for a5d5b66
html/js/code.js
@@ -130,7 +130,7 @@ addEventListener("load", () => {
130
if (/\.zip$/.test(exercise.file))
131
link.href = exercise.file
132
else
133
- link.href = "data:text/plain;charset=UTF-8," + exercise.solution
+ link.href = "data:text/plain;charset=UTF-8," + encodeURIComponent(exercise.solution)
134
}
135
["box", "exercise"].forEach(id => {
136
document.querySelector("#" + id + "_info").style.display =
0 commit comments