Skip to content

invisible children still return an UL tag #6

@GDmac

Description

@GDmac

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions