I am trying to implement in typescript the following:
this.comments = this.comment1 + '/n' + this.comment2
in HTML it is bound as {{comments}}
.
It should print:
comment1
comment2
but it prints:
comment1/ncomment2
I have tried <br\>
too but it does not work. How to do it?
– Bitly Jan 10 '20 at 14:01