I've pasted some XML into Notepad++. The pasted text contains \r\n wherever a newline is supposed to occur. However, Notepad++ is just showing the entire file on a single line. It is as if it is ignoring the \r\n
So the text look like this:
Some stuff on one line\r\n Some stuff that should be on another line\r\n
Instead of:
Some stuff on one line
Some stuff that should be on another line

Press Ctrl+H and the Replace dialog will open.
\\r\\n in "Find what"\r\n in "Replace with".Try setting the search mode in Notepad++ to Extended. Then, find and replace all the /r/n with an actual line break(\n). See: This post for more information about this similar case. From what I found, you can get away with simply \n.
Press Ctrl+H and the Replace dialog will open, then follow the steps:
\r\n in "Find what".\\\r\\\n in "Replace with"\r, \n, \t, \x, ..., \0)\r\n.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With