Hi,
I am creating an XML log file from X++ code as a result of processing another XML file. I am using '\n' to insert line breaks for the text I have under <Description></Description> tag. The file is showing line breaks when I open it in Notepad, but when open in the browser, it is not showing line breaks and all text showing on a single line.
I tried to use CData with <br/> tags, but no success. I am using the same text to fill one of the placeholder in email template and sending email using that template. The text in the email also requires to show the line breaks.
Does anyone have any idea how to achieve the above requirements?
Thanks,
Baber.