Folded section contents in Table of Contents

Testing version: 10084

What were you doing: Folding H3 Header with section content

What feature did you use: Folding

What happened: Using the new table of contents, it appears that if a section is ‘folded’ under it’s corresponding header (H1, H2, etc.) the content gets stuffed into the ToC list under the header.

What did you expect to happen: ToC looks cluttered af when section is closed or ‘folded’. Not sure if a bug of intended feature.


Probably intended, but I’m also not a fan of it.

1 Like

I really cannot imagine that this is intended. That must be a bug


Yes, this is definitely a bug :sweat_smile:
Thanks for reporting.