visionmedia/jade — Issue #368: Nested iterations failing
Author: mciparelli
Created: 2011-10-10 19:41:06+00:00
State: open

Well most likely its me who can't understand how to iterate in Jade, but Im having some trouble with nested iterations.
Being words and functions both array.
The following code:
ul.definitions
for word in words
li
span=word
select.chosen
for v in functions
option(value=v)=v
Compiles this ugly thing:

firstword

sustantivo

verbo

adjetivo

artículo

adverbio

preposición

conjunción

pronombre

Could anyone guide me with this? Sorry if its not an issue with the library, or if its an existing one.