Line breaks in views

I’ve see a lot of responses around using lists of values and the multi-value separator to get line breaks in view columns. I’m a little bit stuck because I want a line break in what is already “show multiple values as separate entries”. Here’s a hopefully simplified explanation of the kind of thing I’m trying to do:

Multi-value FieldA: “Category”:“Category”:“Another Category”

Multi-value FieldB: “Text with Line breaks”:“More text with line breaks”:“Yet more text with line breaks”

View categorized by UNID. Then categorized by FieldA. Then showing FieldB with show multiple values as separate entries.

Embedded the view on a form with show single category set to UNID. Gets a nice embedded view on the form, showing its own multi value fields as rows, kinda like this:

Category

Text with line breaks

More text with line breaks

Another Category

Yet more text with line breaks

I’ve hard coded it to FieldB + @NewLine + “some text hopefully on another line”, and set the multi-value separator to new line, but that just seems to put in a space. I’ve played around with explode and implode, but it gets messy real quick when you’re already dealing with multiple values.

So is there some combination of trickery I can do to get line breaks to show in this situation? Or better yet something real simple I’m not seeing? Any help greatly appreciated!

Subject: line breaks in views

Put a multiple value/list in the column and set the multi-value separator to new line.

FieldB : “some text hopefully on another line”

If fieldB is multivalue and you want to put that on one line use

@implode(FieldB;seperator) : “some text hopefully on another line”

Regards,

René