Piped text formatting issue (essay text questions and tables)? | XM Community
Question

Piped text formatting issue (essay text questions and tables)?


Userlevel 3
Badge +11
Does anybody know of an effective way to contain text on an embedded data piped page within a survey or an email action to have text maintain originally typed paragraphs/formatting? I see the issue with the results of an essay text question or embedded data brought into a 1 column/1 row table that I use in an email action (because otherwise it just strings the text all the way across the email unless I am setting it up wrong)? This probably makes little sense so I will attach a screenshot. I am looking for all of this information to be divided by paragraphs like it was originally typed and not like this.

!

2 replies

Badge +1
When someone uses the enter key to make a new paragraph and the text is later presented as html, the paragraphs become merged. To retain the formatting you have to replace the CR-LF (the characters that using 'enter' yields) with <br> using javascript.
Userlevel 3
Badge +11
How would that look in the JS editor @WaterSampler?

Leave a Reply