Skip to content
Browse files

added escaping of quotes in TimesUp message, so that apostrophes do n…

…ot cause Javascript errors
  • Loading branch information...
1 parent dd85612 commit 5a1920568c2322fdf1bfcc9bc00800311756d975 gbateson committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/hotpot/template/v6.php
View
2 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

0 comments on commit 5a19205

Please sign in to comment.
Something went wrong with that request. Please try again.