After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681898 - Markdown [TOC]: wrong indentation with multiple level 1 headers and level 3 (or more) headers present
Markdown [TOC]: wrong indentation with multiple level 1 headers and level 3 (...
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.2
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-08-15 09:10 UTC by Philipp
Modified: 2012-12-26 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philipp 2012-08-15 09:10:01 UTC
With the following markdown:

-------------------------------------------------------------

TOC Problem        {#TOC_problem}
===========

[TOC]

# First main chapter        {#TOC_problem_FirstMainChapter}

Some text

## Level 2         {#TOC_problem_FirstMainChapter_Level2}

Some more text

### Level 3         {#TOC_problem_FirstMainChapter_Level3}

And even more text

# Second main chapter        {#TOC_problem_SecondMainChapter}

Bla bla

## Subchapter         {#TOC_problem_SecondMainChapter_Subchapter}

More bla bla

-------------------------------------------------------------

the generated toc will have a wrong indentation for the second main chapter (it will be underneath 'First main chapter' instead of on the same level). Without the Level 3 header the indentation will be correct.
Comment 1 Dimitri van Heesch 2012-08-15 18:55:33 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2012-12-26 16:09:03 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.3. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.