It worked
HTMLData = [container stringByReplacingOccurrencesOfString:@"\n" withString:@"<br/>"];
what i did, i escaped a new line. I didn’t just press “enter” while writing the code, but I copied and pasted from the database output in the console.
source
share