Browser: Chrome 110 OS: macOS / Windows / Linux / etc. URL: Link to a page that illustrates this issue Video: Short screen recording that illustrates this issue (free tool: jam.dev)
If you create a loop item inside a nav items it automatically generate an empty div which breaks the expected output (an extra empty div that you don’t want).
In the image you can see the extra item generated (the li item before the div, which is the loop item).