Open jonaths opened 5 years ago
Hello Jonathan,
I don't know if you resolved it yet but that has to do with php accepting \n only in " " and not in ' '. So in php '\n' will display \n and "\n" will go to a new line.
Greetings, Freeman015
So this issue can be closed.
Hi. Documentation here: https://developers.google.com/actions/assistant/responses#basic_card, says that it is possible to give some simple formatting to text like this.
A limited subset of markdown is supported: New line with a double space followed by \n bold italics
I am setting response from an array:
The raw interaction log from dialogflow looks like this:
The final result is that the text is not being properly formatted. Seems like the \n are being escaped?
Thanks.