We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5baf434 commit e5dc3f8Copy full SHA for e5dc3f8
html/js/code.js
@@ -140,7 +140,7 @@ addEventListener("load", function() {
140
type: exercise.type};
141
setEditorCode(exercise.code, exercise.type);
142
visible = "exercise";
143
- document.querySelector("#download").href = "data:text/plain;base64," + btoa(exercise.solution);
+ document.querySelector("#download").href = "data:text/plain;charset=UTF-8," + exercise.solution;
144
}
145
["box", "exercise"].forEach(function(id) {
146
document.querySelector("#" + id + "_info").style.display =
0 commit comments