Rather than replacing a new line using programming code, you can easily replace the new line by using a single css3 code. Below example is using a css class, so you can apply it easily to a html tag.
.newline{ white-space:pre-line; }
Rather than replacing a new line using programming code, you can easily replace the new line by using a single css3 code. Below example is using a css class, so you can apply it easily to a html tag.
.newline{ white-space:pre-line; }
There are no comments available.