Skip to content

Commit

Permalink
added escaping of quotes in TimesUp message, so that apostrophes do n…
Browse files Browse the repository at this point in the history
…ot cause Javascript errors
  • Loading branch information
gbateson committed Oct 8, 2007
1 parent 69d0f96 commit 68a5a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/hotpot/template/v6.php
Expand Up @@ -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
Expand Down

0 comments on commit 68a5a12

Please sign in to comment.