We have a powershell component monitor that returns a message which contains html <p></p> tags to split the long message over multiple lines. Since the upgrade, this no longer works and just prints the whole text with the HTML tags. Meaning that the message field just flows over one line. It is like HTML is now being ignored in the ouput.
Is there a known fix for this? Or anything new we need to do in 2020.2.1 to achieve the same output?
Line in script:
$Connections += "<p>" + $Connection.Username + "</p>";
Output now just prints:
"<p>user1@domain.com</p><p>user2@domain.com</p><p>user3@domain.com</p><p>user4@domain.com</p>"
Used to print:
user1@domain.com
user2@domain.com
user3@domain.com
user4@domain.com
Any help or suggestions greatly appreciated.
Thank you