Omair Aslam

Omair Aslam

  • 1.5k
  • 222
  • 12.6k

\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)