Closed MiniXC closed 7 years ago
The upper loop works with more than one element... So maybe this doesn't have to do with loops at all?
Maybe the empty data: { }
attribute of the review element is the culprit?
Update - I just did a bit of troubleshooting and discovered that even with a "proper" data attribute, the issue remains.
Edit - If the syntax further below is incorrect (I used an empty string to upset the "/.+/"
regex) an error is still thrown.
Edit2 - The loop only runs for the first element, definitely, I tested it using a dummy element beside the <target/>
element.
This is a problem with the specific template, not frix. The iframe
seems to consume everything that is placed after it ``¯_(ツ)_/¯```
The iframe problem is addressed in #62
I could not pin this down exactly yet, but it seems that nested loops are only working when the first loop element of the outer loop has only one element. example
✅
Both lines are generated.
❎
Only the first line is generated.