diff options
author | albert-github <albert.tests@gmail.com> | 2018-12-19 16:43:45 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-12-19 16:43:45 (GMT) |
commit | 9ef709e59187f18229fce1f9443547ad93f17be0 (patch) | |
tree | 2e145ac089a5a85249b8589737b024f9f8e1f781 /src | |
parent | 449a7e2b4ff114a72be573013558bae19672ebbc (diff) | |
download | Doxygen-9ef709e59187f18229fce1f9443547ad93f17be0.zip Doxygen-9ef709e59187f18229fce1f9443547ad93f17be0.tar.gz Doxygen-9ef709e59187f18229fce1f9443547ad93f17be0.tar.bz2 |
Incorrect closing tags for in page table of contents (XHTML)
In case of using the levels in the in page table of contents in XHTML some closing tags wer missing.
Diffstat (limited to 'src')
-rw-r--r-- | src/definition.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index 936565d..fd0b68f 100644 --- a/src/definition.cpp +++ b/src/definition.cpp @@ -1837,6 +1837,7 @@ void Definition::writeToc(OutputList &ol, const LocalToc &localToc) level = nextLevel; } } + if (level > maxLevel) level = maxLevel; while (level>1 && level <= maxLevel) { if (inLi[level]) ol.writeString("</li>\n"); |