How can I preserve line breaks in my search output?
I'm parsing out a field that has linebreaks. I'd like the multilines to be visible in the search results. Instead I'm seeing them wrap and jam all together.
Inspecting the HTML I can see that the linebreaks are being written out properly, it just looks like the CSS is stripping those out.
I can see that by tweaking the style and adding 'white-space: pre' I get the desired result. Is there a better way, or will Sumologic update their styles to account for this?
-
There is an open feature request: https://support.sumologic.com/entries/25144891-Show-new-lines-within-parsed-field-values
Please sign in to leave a comment.
Comments
2 comments