Topic by Bryan Scarborough
Content
Hello,
I have written code that pulls incident data and displays it in a browser, however the new lines from the incident are not being preserved when displayed in the browser.
Here is what the test looks like in the CX client
[<ffffffff880b9770>] :megaraid_sas:megasas_fire_cmd_ppc+0x25/0x49
[<ffffffff8006ec4e>] do_gettimeofday+0x40/0x90
[<ffffffff80015599>] sync_buffer+0x0/0x3f
But here is what it looks like when display in the webpage
[<ffffffff880b9770>] :megaraid_sas:megasas_fire_cmd_ppc+0x25/0x49 [<ffffffff8006ec4e>] do_gettimeofday+0x40/0x90 [<ffffffff80015599>] sync_buffer+0x0/0x3f
I tried this
thread.Text.ToString().Replace(Environment.NewLine, "<br/>")
but that didn't do anthing more then just thread.Text