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
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 349,
BUILD_REVISION => 350,
BUILD_DATE => "2012-01-23",
};

View File

@ -345,7 +345,7 @@ sub gen_html {
if($paren == -1) {
if(length $number and defined $footnotes[$number]) {
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;