--- loncom/interface/lonnavmaps.pm 2015/10/05 16:23:49 1.511 +++ loncom/interface/lonnavmaps.pm 2016/02/22 03:37:02 1.512 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Navigate Maps Handler # -# $Id: lonnavmaps.pm,v 1.511 2015/10/05 16:23:49 raeburn Exp $ +# $Id: lonnavmaps.pm,v 1.512 2016/02/22 03:37:02 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -914,6 +914,9 @@ sub render_resource { my $nonLinkedText = ''; # stuff after resource title not in link my $link = $params->{"resourceLink"}; + if ($resource->ext()) { + $link =~ s/\#.+(\?)/$1/g; + } # The URL part is not escaped at this point, but the symb is...