Shopify/batman — comment on commit eebd4111eec646a80054156ec6178ab9ebe7851e
File:  line 0
By hornairs:

Thats what I would of preferred to do but it results in invalid markup if you are iterating over something strict like `
`s. The invisible elements can also screw up jQueries and `nth-child` CSS3 selectors, which actually happened to us with a segmented button control whos segments were generated by a loop. The above solution doesn't seem too bad to me.