Replacing the `<br>` with `\n` shouldn't be required if you are no longer doing the tag replacement