diff --git a/mod/hotpot/lib.php b/mod/hotpot/lib.php index 3c95a9297bc..095ede50691 100644 --- a/mod/hotpot/lib.php +++ b/mod/hotpot/lib.php @@ -1536,7 +1536,7 @@ class hotpot_xml_quiz extends hotpot_xml_tree { return $this->xml_value("hotpot-config-file,$this->quiztype,remaining-words"); } function v6_expand_TimesUp() { - return $this->xml_value('hotpot-config-file,global,times-up'); + return $this->js_safe($this->xml_value('hotpot-config-file,global,times-up')); } // nav bar