Hi,
I have an excerpt from a json body that I am including in an API call.
Does anyone know how I can add a new line in the text?
In JS I would do this with template literals and the \n. This doesn’t seem work in Bubble.
After the text you could try :find & replace then replace \n then just press “enter” in the replace section
EDIT: I was saying as a response how Bubble could translate to a newline. If you mean a newline for the API to understand, then I think that’s up to them what they consider a newline is.
Ok good you edited your response cause otherwise this thread would have been super confusing.
It’s an API Post call from my bubble app to an external service.
It seems like the bubble plugin already can’t interpret the \n correctly as a line break.
In Javascript I would simply use template literals for the string and \n would be correctly identified as a command for a line break. This is somehow either not possible in bubble or otherwise I don’t know how to make it work.