If you use startlevel and stoplevel to exclude nodes you get empty lines. This bug will result in interrupted bullet lists, e.g. can't be used in a
TopMenuSkin menu. Example:
* Top level bullet
%TREEVIEW{
web="%WEB%"
topic="ContactDB"
format=" * $topic (indented bullet)"
startlevel="1"
stoplevel="1"
nodiv="2"
}%
* Last indented bullet
This will produce:
* Top level bullet
* TopicA (indented bullet)"
* TopicB (indented bullet)"
* TopicC (indented bullet)"
* TopicD (indented bullet)"
* Last indented bullet
The first empty line is caused by ContactDB (at level 0), the second one by a child of TopicB (at level 2)
Expected:
* Top level bullet
* TopicA (indented bullet)"
* TopicB (indented bullet)"
* TopicC (indented bullet)"
* TopicD (indented bullet)"
* Last indented bullet
Fix: Account for empty child text when formatting a node.
--
TWiki:Main/PeterThoeny
- 2015-03-19