Display formatted XML in text area

Display formatted XML in text area

  

Hi,

I have an application where I need to show an indented XML in the UI, I have the extension which returns the Indented XML but OutSystems keep converting it to a single line of text.

Please Help!!

Solution

use the <pre> tag for that, or the similar style

white-space: pre;


Solution