When I use: Text("My text \nhas a break line") The output is: My text has a break line PERFECT - I have "My text" and in the next line, I have "has a break line"
However if I have:
Text(mymodel.description)
//where this is returning from an API call and mymodel.description contains "My text \nhas a break line")
It doesn't work.
The output is:
My text \nhas a break line
Why ?