Result with beak lines

Hello,

I want to display a result on multilple lines because I want to execute a script remotly with winRM on computers.

The actual result is displayed above.

I tried to add a new line with “System.Environment.NewLine” or “br” tag but it doesn’t works. I try to return a String so…

  • Controller:

      BackgroundJob.Enqueue( () =>  new executeCommand().winRm(data["fqdn"].Value<string>(), data["username"].Value<string>()));
    

My method winRm is returning a string.

I think it was not expected to have multiline strings there. You can provide a custom renderer for a Succeeded state, and format result as you like (wrap in a <pre> block, set white-space: pre CSS style etc.)

I choose to change the result type but thank you.