How do I get line breaks in my text fields and boxes?

You should try simple_format("your text") to preserve line breaks.

You can easily translate line breaks to list using String.gsub.