Description
Create a new page, add a table of contents to it, also add several headings of different levels. Press "Preview". The table of contents will be empty. Save the page. The table of contents will be ok.
A similar thing happens when editing a page that already has some headlines and a TOC: if you add new headlines, they are not show in editor preview, but after saving the page.
Steps to reproduce
- See above
Example
Component selection
- general
Details
moin version: 1.7.1
Workaround
Discussion
Plan
- Priority:
Assigned to: ThomasWaldmann
Status: fixed by http://hg.moinmo.in/moin/1.7/rev/b1a690282f20 - please help testing whether this change creates any unwanted side effects
I can confirm that this patch fixed the problem on my system where it occured for all previews in the past. -- RaphaelBossek 2008-09-09 06:57:41