--- loncom/interface/lonmenu.pm 2016/05/13 22:48:05 1.448 +++ loncom/interface/lonmenu.pm 2016/05/23 17:38:55 1.449 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.448 2016/05/13 22:48:05 raeburn Exp $ +# $Id: lonmenu.pm,v 1.449 2016/05/23 17:38:55 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1697,6 +1697,7 @@ sub done_button_js { $lt{'miss'} .= ' '.&mt('If you confirm you are done you will be unable to submit an answer for it.').'

'; } } + $donebuttontext = &HTML::Entities::encode($donebuttontext,'<>&"'); if ($proctor) { if ($height !~ /^\d+$/) { $height = 400; @@ -1721,7 +1722,7 @@ sub done_button_js {

$lt{'preamble'} $lt{$type}

$lt{'miss'}

$lt{'proctor'}

-
+
@@ -1795,7 +1796,7 @@ END
- +