From f87d2e4b61232232f3c415ec2326b944f23a72ab Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 8 Jul 2020 15:08:49 +0000 Subject: [PATCH] fix #3778 @0.25 --- inc/ws/Util/html5/master/class.ws.html5.compiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ws/Util/html5/master/class.ws.html5.compiler.php b/inc/ws/Util/html5/master/class.ws.html5.compiler.php index c54a35a63..7d7948726 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/master/class.ws.html5.compiler.php @@ -1098,7 +1098,7 @@ class wsHTML5Compiler $vars = array('scorm_id', 'scorm_org', 'scorm_title'); foreach ($vars as $v) { - $manifest = str_replace('$' . $v, $this->book->parametres->$v, $manifest); + $manifest = str_replace('$' . $v, htmlspecialchars($this->book->parametres->$v, ENT_QUOTES), $manifest); } $this->vdir->file_put_contents('imsmanifest.xml', $manifest); -- 2.39.5