Voiceflow PartnersVPVoiceflow Partners
Powered by
urgent-maroonU
Voiceflow Partners•3y ago•
9 replies
urgent-maroon

Newline in "dynamic carousel" JS-block?

I have been trying to get a newline (\n) into the custom block for a carousel (in a card description), when using a JavaScript block to send the JSON data, but it never seems to render. Is there any fix to this or is this a limitation of using custom actions?

So to be clear, this:
let desc = "line 1 \n line 2 \n line 3";
let desc = "line 1 \n line 2 \n line 3";

does not work, it is rendered as:
line 1 line 2 line 3
line 1 line 2 line 3


Any help or clarification would be great!
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

Dynamic carousel
AndrejG84AAndrejG84 / ❓┃ask-a-question
7mo ago
Dynamic carousel
conventional-blackCconventional-black / ❓┃ask-a-question
8mo ago
New dynamic carousel
MyriamMMyriam / ❓┃ask-a-question
9mo ago
Dynamic carousel + Whatsapp
efficient-indigoEefficient-indigo / ❓┃ask-a-question
2y ago