In the css settings of the div where the results are:
white-space: pre-line;
Then the page can successfully recognize '\n' and display it in a new line
In the css settings of the div where the results are:
white-space: pre-line;
Then the page can successfully recognize '\n' and display it in a new line