Is it possible to have newline linebreak in IgeFontEntity

Post your help queries and engine programming questions here

Is it possible to have newline linebreak in IgeFontEntity

Postby RiaanPie » Tue Sep 06, 2016 11:00 am

Hello!

I have a data source that produces JSON. In there I would like to have some HTML tags to assist in formatting the content for display purposes.

Sample JSON:
Code: Select all
"question": "THE PERCENTAGE OF PEOPLE IN EACH INCOME GROUP.",
            "options": [{
                "val": "Earns between<br> 0 - 1 600 per month",
                "data_round": "32",
                "data_actual": "32.4"
            }


The output shows the <br> tag instead of adding a break. I looked through the docs to see if there's a isHtml:"true" type flag, but couldnt find one. I also tried adding "\n" - that produces no output and no line break.

Thanks in advance for any input - appreciated! :)
RiaanPie
 
Posts: 20
Joined: Fri Jul 22, 2016 2:20 pm

Return to Help & Questions

Who is online

Users browsing this forum: No registered users and 1 guest
cron