I'm not sure how they could be generated from the code posted.
But if you're seeing blank *options*, then it's not "just" in the HTML--it means there are items in the list that aren't displaying.
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton