There is a <span>Текст1\nТекст2</span>
It is necessary to replace \n with a line break in JavaScript so that the browser shows:
Текст1 Текст2 I understand here is not just <br> replace the need to insert, but something else on the tags.
Suggest the easiest way.
white-space: pre;- Grundy