mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-64511' of https://github.com/paulholden/moodle
This commit is contained in:
commit
6e990b0c6b
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ function loadContent(datafile, callback) {
|
||||||
}
|
}
|
||||||
|
|
||||||
newscript.type = 'text/javascript';
|
newscript.type = 'text/javascript';
|
||||||
newscript.src = data;
|
newscript.src = encodeURIComponent(data);
|
||||||
newscript.charset = 'utf-8';
|
newscript.charset = 'utf-8';
|
||||||
document.getElementsByTagName("head")[0].appendChild(newscript);
|
document.getElementsByTagName("head")[0].appendChild(newscript);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue