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
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |