3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-26 13:59:47 +01:00

Added missing encode_entities to c99/c11std generation

This commit is contained in:
Pragmatic Software 2012-01-23 22:33:13 +00:00
parent 59e100a44c
commit 2830147338
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ use warnings;
# These are set automatically by the build/commit script # These are set automatically by the build/commit script
use constant { use constant {
BUILD_NAME => "PBot", BUILD_NAME => "PBot",
BUILD_REVISION => 349, BUILD_REVISION => 350,
BUILD_DATE => "2012-01-23", BUILD_DATE => "2012-01-23",
}; };

View File

@ -345,7 +345,7 @@ sub gen_html {
if($paren == -1) { if($paren == -1) {
if(length $number and defined $footnotes[$number]) { if(length $number and defined $footnotes[$number]) {
print STDERR "Got footnote $number here!\n"; print STDERR "Got footnote $number here!\n";
$footer .= "<a name='FOOTNOTE.$number'>\n<pre><i><b>Footnote $number)</b> $footnotes[$number]</i></pre>\n</a>\n"; $footer .= "<a name='FOOTNOTE.$number'>\n<pre><i><b>Footnote $number)</b> ", encode_entities $footnotes[$number], "</i></pre>\n</a>\n";
} }
$paren = 0; $paren = 0;