Skip to content

Commit 8606a13

Browse files
author
Fletcher T. Penney
committed
fix bug when footnote is not defined
1 parent 9b4c60c commit 8606a13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/MultiMarkdown.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ sub _DoFootnotes {
17951795
$text =~ s{
17961796
\[\^(.+?)\] # id = $1
17971797
}{
1798-
my $result;
1798+
my $result = "";
17991799
my $id = id2footnote($1);
18001800
if (defined $g_footnotes{$id} ) {
18011801
$g_footnote_counter++;

0 commit comments

Comments
 (0)