3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-29 07:19:23 +01:00

applets/cstd.pl: fix footnote URLs

This commit is contained in:
Pragmatic Software 2022-12-25 18:07:04 -08:00
parent 178deadb35
commit 0066c4a312

1
applets/cstd.pl vendored
View File

@ -257,6 +257,7 @@ $result =~ s/\s+$//;
if ($matches > 1 and not $list_only) { print "Displaying $match of $matches matches: "; } if ($matches > 1 and not $list_only) { print "Displaying $match of $matches matches: "; }
if ($comma eq "") { if ($comma eq "") {
$found_section =~ s/Footnote/FOOTNOTE/;
print "http://www.iso-9899.info/$std_name.html\#$found_section"; print "http://www.iso-9899.info/$std_name.html\#$found_section";
print "p" . $found_paragraph if $paragraph_specified; print "p" . $found_paragraph if $paragraph_specified;
print "\n\n"; print "\n\n";