dokuwiki_plugin_wrap icon indicating copy to clipboard operation
dokuwiki_plugin_wrap copied to clipboard

parser bug when using WRAP to build nested table

Open leeyc0 opened this issue 12 years ago • 3 comments

I had to use nested table to help page formatting, but I hit a strange parser bug, as seen in

http://canto.acgvlyric.org/doku.php/w:bugdemo

I got a extra cell at the right of "1".

However, if I split the nested table using include plugin, the nested table is displayed as intended.

leeyc0 avatar Oct 13 '12 18:10 leeyc0

Below is the exact wiki syntax for this bug:

|<WRAP>
|1||
|2|2|
</WRAP>|b|

And the workaround is:

|{{page>w:bugdemo2}}|b|

Where the content of http://canto.acgvlyric.org/doku.php/w:bugdemo2 is

<WRAP>
|1||
|2|2|
</WRAP>

leeyc0 avatar Oct 13 '12 18:10 leeyc0

Although I can reproduce this, it's such an edge case and not very straightforward to fix, that I don't think I will fix it. If anyone else would like to provide a fix, I am happy to implement it.

selfthinker avatar Mar 24 '13 13:03 selfthinker

we have the same problem:

image

LMS235 avatar Apr 11 '23 08:04 LMS235