Display string list returned by scripted field in new line in discovery

Hi,

I have a scripted filed returning a list of String, when I am viewing the field in discovery page I can see the values are coming as coma separated but I need them to come in new line. Is there any way to achieve this ?

Thanks!

Did you got any solution for this ?