History: Plugin Parsing Problems
Source of version: 5 (current)
Copy to clipboard
Test page for some plugin parsing issues.
!! Line breaks not working in BOX plugin inside a FANCYTABLE
Note this line breaks don't work in the BOX plugin but do work in the code plugin. As reported in [http://dev.tiki.org/item4216]
{FANCYTABLE(head="code|box" colwidths="50%|50%")}
{CODE(caption="code with 2 lines" colors="sql")}select sysdate from dual;
select sysdate from dual;{CODE} | {BOX(title="box with 2 lines")}
1st line in a box
2nd line in a box
{BOX}
{FANCYTABLE}
!! Line breaks not working in the SORT plugin inside a SPLIT
As reported in [http://dev.tiki.org/item3872].
Below is a use of just the SORT plugin by itself - line breaks work fine:
{SORT(sort=asc)}
AC
AG
AA
{SORT}
Inslide a SPLIT plugin the SORT line breaks are lost:
{SPLIT()}
-=A=-
{SORT(sort=asc)}
AC
AG
AA
{SORT}
---
-=B=-
{SORT(sort=asc)}
BB
BA
{SORT}
---
-=C=-
{SORT(sort=asc)}
CX
CD
{SORT}
{SPLIT}
!! Plugin inside PluginTab lose plugin edit buttons
As reported in [http://dev.tiki.org/item4215] - see below:
{TABS(tabs="code|fancytable|box" toggle="y")}
{CODE()}{CODE}
/////
{FANCYTABLE()}{FANCYTABLE}
/////
{BOX()}{BOX}
/////{TABS}
!! Wrong instance of plugin updated
As reported in [http://dev.tiki.org/item4111], the wrong instance of a plugin gets updated with multiple instances and one inside a CODE plugin when using plugin edit interface.
{CODE()}
{DIV()}A{DIV}
{CODE}
__Update one of the DIVS below using the plugin edit popup and the DIV above in the CODE plugin will be updated__
{DIV()}B{DIV}
{DIV()}C{DIV}
!! Plugin parsing breaks when nested more than 7 times
As reported in [https://dev.tiki.org/item5697], when plugin (such as DIV or BOX) is nested more than 7 times, it breaks the parsing of the whole page leaving some parts of the rendered code unclosed and the rest rendered as-is in the curly brackets syntax...
Example:
{CODE(caption="This should work!")}
{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}
{CODE}