+1
Answered

Is there a way to do a line break within a text object?

sovtek 11 aastat tagasi uuendaja icahill (Administrator) 11 aastat tagasi 1
Im using json as my datasource. If you look at the example below, you can see that I am trying to insert a line break between 2 values. For example: When I attempt to insert the values for "name" within my app, I'd like to have a line break between "just do it" and "The Ultimate Fantasy Experience". Is this possible? Is there any type of line break attribute I can add to a text object? Escaping with \n doesn't seem to work of course.

{
"id":2,
"name":"1:just do it\n2:The Ulimate Fantasy Experience",
"author":"1:NIKE\n2:NFL",
"info":"1:\n2:",
"type":"ADS",
"pos":5,
"tags":null,
"contentUrl":null,
"storyId":0,
"range":1,
"imgSrc":"\/issue1661\/pagethumbs\/0005.jpg"
}
To achieve a paragraph break within a text tag, use “\n\n”.