I created a JSON file with some objects with attributes. I am fetching this data to use in a repeat element on a page. One attribute (called “description”) is a string that I am displaying in each element like:
<p>{{_['description']}}</p>
I would like to introduce line breaks for this description, but am not sure how to do this. I have tried using \n
but this does not seem to work with fetched JSON data.
Community Page
Last updated:
Last updated: