aboutsummaryrefslogtreecommitdiff
path: root/Info/9
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-09-12 18:35:12 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-09-12 18:35:12 +0200
commit9e6100310cedd97cf351955ddc98de5057fe6d2b (patch)
tree064c0a426db63f7e7e4f608b08417ff003d81631 /Info/9
parent4624002d9623f54748fc2eaa5a01d92addd2f1ce (diff)
downloadunterricht-9e6100310cedd97cf351955ddc98de5057fe6d2b.tar.gz
unterricht-9e6100310cedd97cf351955ddc98de5057fe6d2b.zip
planet: escape pandoc template character in js format string
Diffstat (limited to 'Info/9')
-rw-r--r--Info/9/3/Planet/templates/h5p-autoembed.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Info/9/3/Planet/templates/h5p-autoembed.js b/Info/9/3/Planet/templates/h5p-autoembed.js
index 8c41e6e5..c26c0c84 100644
--- a/Info/9/3/Planet/templates/h5p-autoembed.js
+++ b/Info/9/3/Planet/templates/h5p-autoembed.js
@@ -48,7 +48,7 @@ async function embedScorm() {
const iframe = document.createElement('iframe');
// Concatenate the URL to prevent Moodle's auto link feature to mess with the url
- iframe.src = `/mod/scorm/player.php?a=${scormplayerdata.scorm}&currentorg=${scormplayerdata.currentorg}&scoid=${scormplayerdata.sco}&sesskey=${M.cfg.sesskey}&display=popup&mode=normal`
+ iframe.src = `/mod/scorm/player.php?a=$${scormplayerdata.scorm}&currentorg=$${scormplayerdata.currentorg}&scoid=$${scormplayerdata.sco}&sesskey=$${M.cfg.sesskey}&display=popup&mode=normal`
iframe.frameborder = div.frameborder ? div.frameborder : 0;
iframe.allowfullscreen = div.allowfullscreen ? div.allowfullscreen : "allowfullscreen";
iframe.title = autoEmbedLink.title;