summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/MarkdownBook/Document/HTML.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/MarkdownBook/Document/HTML.pm b/scripts/MarkdownBook/Document/HTML.pm
index e775327..aabb0dd 100644
--- a/scripts/MarkdownBook/Document/HTML.pm
+++ b/scripts/MarkdownBook/Document/HTML.pm
@@ -56,6 +56,7 @@ sub parse
$curlev = $newlev;
++$secnums[$newlev - 1];
$secstr = join('.', @secnums);
+ $secstr = $self->{'id'} . '.' . $secstr;
$secstr =~ s/(\.0)*$//;
push(@{$self->{'sections'}},