Description
Indented heading are not considered as headings by the parser, but show as broken links in the table of contents.
Example
Here is a table of contents macro:
Contents
Now add some indented headings to the page:
- === This ===
- ==== And This ====
- ===== The Last One =====
- ==== And This ====
Note the broken links on the toc.
Details
MoinMoin Version |
1.3.x |
Workaround
Do not intent headings
Discussion
If you import a subpage, the heading links that show up in the table of contents macro also seem to be broken. Are these bugs related? If they are, I will not file another bug report for this issue. -- YusufAbdulghani
Its not related, what you describe is this bug: MoinMoinBugs/TableOfContentsBrokenForIncludedPages.
Fixed by fixing title pattern to ignore indented titles, as our parser do.
Can I get a patch that I can apply to my v1.3 installation to fix this issue? Thank you. -- YusufAbdulghani
- Which version do you have? It is fixed in 1.3.5.
Plan
- Priority:
- Assigned to:
- Status: fixed