It satisfies the following requirements:

1. if the original html contains newline(\n), it gets preserved
2. if the original html contains br or p tags, they gets translated to newline(\n).
0%