--- loncom/interface/lonmenu.pm 2023/04/11 21:54:09 1.531 +++ loncom/interface/lonmenu.pm 2023/07/06 16:55:43 1.533 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.531 2023/04/11 21:54:09 raeburn Exp $ +# $Id: lonmenu.pm,v 1.533 2023/07/06 16:55:43 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -210,7 +210,6 @@ use Apache::lonenc(); use Apache::lonlocal; use Apache::lonmsg(); use LONCAPA qw(:DEFAULT :match); -use LONCAPA::ltiutils; use HTML::Entities(); use Apache::lonwishlist(); @@ -1150,6 +1149,13 @@ END $is_const_dir = 2; } } + my $esc_currdir = &Apache::loncommon::escape_single($currdir); + $menuitems=(<