diff options
Diffstat (limited to 'scripts/MarkdownBook/Document')
-rw-r--r-- | scripts/MarkdownBook/Document/HTML.pm | 1 |
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'}}, |