Custom filetype (XML-based, HTML processor for CDATA) merging line breaks

Hello all,

I have a custom filetype filter (XML-based, with HTML Embedded content processor for CDATA sections) that works for displaying translatable text and exporting bilingual translated files.
However, for some reason it merges soft line breaks into single segments instead of segmenting them.

I exported this filter to be used in Trados Studio 2015 and it works fine there (it doesn't create new segments, but it keeps the line break inside the segment, so it exports 2 lines anyway). In Studio 17 it doesn't display these line breaks and exports themas a single line.

I have confirmed that my global and project settings are the same in Studio 17 and 15, so I can't pinpoint what is causing this behavior.

Has anyone had similar issues or can someone point me towards the solution?

 

Best Regards.