BuildShipBBuildShip
Powered by
SleetzaS
BuildShip•2y ago•
13 replies
Sleetza

Node escaping backslashes

Hi guys,
I have the pdf to text extraction node. Then I pass that text as a string to the next node (custom node) where I want to split the text using langchain js. The problem is; the method I want to use is split first on "\n\n", then on "\n", then on " ". The node does however seem to escape backslashes from the provided string.

Any solution to this?
Solution
Hi @Sleetza, The html text input escapes new lines by default
you'll have to paste the text in the expanded text-area to preserve the new lines.
It is not directly possible to make
<input type="text" />
<input type="text" />
to support new lines.
Jump to solution
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Output node within parallel node
BrianBBrian / ❓・buildship-help
13mo ago
Node editor
WatchPaintDryWWatchPaintDry / ❓・buildship-help
2y ago
websocket Node
MarkMMark / ❓・buildship-help
2y ago
custom node?
BBAznBBBAzn / ❓・buildship-help
3y ago