When nested more times, it stops working and breaks the whole page parsing.
This works:
{DIV(class="level1")} {DIV(class="level2")} {DIV(class="level3")} {DIV(class="level4")} {DIV(class="level5")} {DIV(class="level6")} {DIV(class="level7")} Foo Bar {DIV} {DIV} {DIV} {DIV} {DIV} {DIV} {DIV}
This breaks:
{DIV(class="level1")} {DIV(class="level2")} {DIV(class="level3")} {DIV(class="level4")} {DIV(class="level5")} {DIV(class="level6")} {DIV(class="level7")} {DIV(class="level8")} Foo Bar {DIV} {DIV} {DIV} {DIV} {DIV} {DIV} {DIV} {DIV}
See the SHOW instance.
Expected behaviour:
Parsing nested plugins should work flawlessly no matter how many levels are nested or be limited to e.g. 20 levels (ideally should be configurable) but should not break up to that max level; only if above the limit, it could show the unparsed syntax instead of breaking whole content rendering.
A preference was created to allow for more plugin parsing passes. Called: Maximum plugin parsing passes.
A ideal fix entails a re-write of plugin parsing in Tiki, so this preference will allow website owners who have complex plugin needs to use them until such a task can be undertaken.
fixed in r62772
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
Unable to connect to show.tikiwiki.org. Please let us know of the problem so that we can do something about it. Thanks.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |