--- loncom/interface/lonprintout.pm 2019/02/17 03:42:24 1.669 +++ loncom/interface/lonprintout.pm 2020/02/17 13:40:16 1.670 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.669 2019/02/17 03:42:24 raeburn Exp $ +# $Id: lonprintout.pm,v 1.670 2020/02/17 13:40:16 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2076,12 +2076,13 @@ sub unsupported { my $result.= &print_latex_header($mode); if ($currentURL=~m|^(/adm/wrapper/)?ext/|) { $currentURL=~s|^(/adm/wrapper/)?ext/|http://|; - $currentURL=~s|^http://https://|https://|; + $currentURL=~s|^http://https://?|https://|; my $title=&Apache::lonnet::gettitle($symb); $title = &Apache::lonxml::latex_special_symbols($title); - $result.=' \strut \\\\ '.$title.' \strut \\\\ '.$currentURL.' '; + my $url = &Apache::lonxml::latex_special_symbols($currentURL); + $result.=' \strut \\\\ '.$title.' \strut \\\\ '.$url.' '; } else { - $result.=$currentURL; + $result.= &Apache::lonxml::latex_special_symbols($currentURL); } $result.= '\vskip 0.5mm\noindent\makebox[\textwidth/$number_of_columns][b]{\hrulefill} \end{document}'; return $result;