#637 - PHP error when inserting a Table of Contents in a CEDI page

This is a spacer post for a website comment topic. The content this topic relates to: #637 - PHP error when inserting a Table of Contents in a CEDI page
Automated response: Crash when contents tag used with mis-defined title hierarchies

If you do something like...

[contents][/contents]
[title="4"]title 4[/title]
[title="3"]title 3[/title]

Composr will get confused. When it gets to the second title ("title 3", said to be level 3) it is trying to close off a difference in level that was never opened up, so creates a stack underflow error.

Also there's another separated bug. If the WYSIWYG editor is used it throws out information needed to look at heading levels. Preserve Comcode 'title' tags if WYSIWYG is in use and a 'contents' tag has been placed already. (this means you should place a contents tag before you define a heading hierarchy)

Fixed
0 guests and 0 members have recently viewed this.