Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e85f9d commit f06b905Copy full SHA for f06b905
1 file changed
Doc/perl/l2hinit.perl
@@ -663,9 +663,14 @@ ($$)
663
$charset = $CHARSET;
664
$charset =~ s/_/\-/go;
665
}
666
+ # Remove section number from the title for use in the
667
+ # <meta name='description' ...> element in the document head.
668
+ my $metatitle = "$title";
669
+ $metatitle =~ s/^\d+(\.\d+)*\s*//;
670
+
671
join('',
672
$MY_PARTIAL_HEADER,
- &meta_information($title),
673
+ &meta_information($metatitle),
674
"<title>", $title, "</title>\n</head>\n<body$body>");
675
676
0 commit comments