When I try and display text from an the InnerText from an XML element. I get something like this:
I need this spacing \r\n\r\n\r\second lot of spacing\r\n\r\nMore spacing\r\n\r\n
I know you can replace \r\n
with <br>
but is there no function that automatically takes the html for you and why does it use \r
and \n
? Many thanks.