8👍
✅
Using one or both of these should work:
s = s.replace("\r\n", "<br />")
s = s.replace("\n", "<br />")
Source:stackexchange.com
8👍
Using one or both of these should work:
s = s.replace("\r\n", "<br />")
s = s.replace("\n", "<br />")