aaronfowler/mojo-pagelistplus — Issue #6: invisible children still return an UL tag
Author: GDmac
Created: 2012-02-21 22:28:35+00:00
State: open

When children of a page are all invisible, the tag still returns the UL tag.
solution: run the foreach loop first, and if not empty() wrap the thing in the UL tag.

Create the tag if it is necessary, not because we "expect" content.
Contrary to public transport, we don't have to drive empty busses around,
why send a bus out in the first place if no-one is waiting at the busstops.