I am using a survey (textarea) to prompt for one or more entity names, and then wish to loop through those names in a template, creating a stanza for each entity. But it seems that no matter what types of escaping/formatting/whatnot I try, the entities are being processes as individual characters instead of strings. For example, entering:
fiber
copper
In the textarea, then attempting to process in a template with {% for entity in entities %} results in:
‘f’
‘i’
‘b’
‘e’
‘r’
‘c’
I’m tried quotes, I’m tried [‘fiber’, ‘copper’], and everything seems to be parsed character-by-character. This situation is made all the more frustrating by the fact that passing the same data via YAML works exactly as expected:
entities:
- fiber
- copper
I welcome any pointers to getting this working as I had hoped.
Thanks!
- jkt