Omair Aslam

Omair Aslam

  • 1.4k
  • 200
  • 11.7k

\n line break in asp.net core not working for last string

Sep 30 2019 12:55 PM
var description="some text"+"\n some text 2" +"\n some text 3";
 
Output:
some text
some text 2 some text 3.
 
why some text 3 is also showing wrong output with some text 2 instead of breaking line. 

Answers (2)