Problem with line break when save value in SQLite


#1

Hello,

I call a json object from my server and save it in my SQLite database.
Part of the json obect is a longer text with line breaks.

When I now request the text from my SQLite database and show it in my app it ignores the line breaks.

I tried it with

  • <br>
  • <br />
  • \r\n
  • \n

but no line break.


#2

Problem solved using:

[innerHTML]