Hi guys,
Ok I have an input text field with htmlText set to false.
Now, I want to grab data from the text field but I want to convert line breaks to “<br />”. I used this code…
textDescription.text.replace("\r", "<br />");
Which works fine for the first line break but any breaks after that aren’t replaced. Any ideas?