Differences in how textbox and text components interpret multiple linebreaks (\n)

I’m using code components to create a variable which i then feed to text / textbox components in a builder experiment.

I want to control the spacing between lines of text.

If this sentence is my example:

“I want to drop this\n\n two lines”

If I use a text component, it works as intended:

"I want to drop this

two lines"

but if i use the textbox the outcome looks like this:

“I want to drop this
two lines”

I cant get the textbox component to read any more than the single \n. Is there a way of getting the textbox component to behave more like the text component?

many thanks