Hi there,
I have a javascript function in my survey applies a score to a bunch of sentences and then orders the sentences by score. in my function and when viewed in the survey, the sentences are formatted correctly, with line breaks in between each one for example:
Sentence1
Sentence2
Sentence3
All of these sentences are held in a single fieldcalled ${ordered_sentences}. In my report template, when I reference this field however, all the sentences come out as one long paragraph:
Sentence1 Sentence 2 Sentence 3
with no respect to the line breaks.
I have tried using <br> in the function as well as w:br however the latter causes errors when uploading the template and the former just shows <br> in the report.
Any ideas?
Thanks