Diff for /rat/lonpage.pm between versions 1.144 and 1.145

version 1.144, 2023/09/11 13:26:26 version 1.145, 2025/03/19 14:44:03
Line 424  ENDEXT Line 424  ENDEXT
               }                }
                               my $output=Apache::lonnet::ssi($src,%posthash);                                my $output=Apache::lonnet::ssi($src,%posthash);
       $output=~s|//(\s*<!--)? BEGIN LON-CAPA Internal.+?// END LON-CAPA Internal\s*(-->)?\s||gs;        $output=~s|//(\s*<!--)? BEGIN LON-CAPA Internal.+?// END LON-CAPA Internal\s*(-->)?\s||gs;
                                 $output=~s{\Q<div class="LC_landmark" role="main">\E}{<div class="LC_landmark">}gs;
                               if (($target eq 'tex') || ($target eq 'tex_answer')) {                                if (($target eq 'tex') || ($target eq 'tex_answer')) {
   $output =~ s/^([^&]+)\\begin\{document}//;    $output =~ s/^([^&]+)\\begin\{document}//;
   $output =~ s/\\end\{document}//;    $output =~ s/\\end\{document}//;

Removed from v.1.144  
changed lines
  Added in v.1.145


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>