How do I keep Linebreaks in Lectora Variable?

I have an activity that uses Lectora Variables & Java Script. Most text boxes contain single line of information and work beautifully. However one text box uses multiple lines of text. I want to create line breaks but am unable to control that when swapping in the text.

My code has the "/n" line break, but did doesn't render in Lectora


Any ideas how to get this to work?


Discussion (1)

When I add a blank text box and manually hit linebreaks in a "non dynamic" text box I see it wraps each line in a <p> tag... but when I update variables, I cannot put any HTML formatting as it displays all as plain text. Any ideas how to add linebreaks in a variable?