diff --git a/mod/hotpot/template/v6.php b/mod/hotpot/template/v6.php index c0f1f5cbc8d3e..183b6f287bbdd 100644 --- a/mod/hotpot/template/v6.php +++ b/mod/hotpot/template/v6.php @@ -654,7 +654,7 @@ function v6_expand_RemainingWords() { return $this->parent->xml_value('hotpot-config-file,'.$this->parent->quiztype.',remaining-words'); } function v6_expand_TimesUp() { - return $this->parent->xml_value('hotpot-config-file,global,times-up'); + return $this->js_safe($this->parent->xml_value('hotpot-config-file,global,times-up')); } // nav bar