Join Slack
Powered by
Why not take in chr(13) + chr(10), and store those...
# cfml-general
q
quetwo
04/11/2025, 8:40 PM
Why not take in chr(13) + chr(10), and store those locally. When you go to render, you can do a ReReplace(var,"\n","<br>"); on your display code...
👍 3
j
Joseph Bullock-Palser
04/11/2025, 8:59 PM
This is the way.
q
quetwo
04/11/2025, 11:33 PM
I mean... it is basic computer science. that's how you express newlines....
j
Joseph Bullock-Palser
04/11/2025, 11:34 PM
Yeah. While we are at it, we should reinvent the wheel. I mean, that's SO 1920's. :) If it isn't broke and works, why change it?
d
Dave Merrill
04/12/2025, 12:47 PM
See my comments in the original thread please.
2
Views
Open in Slack
Previous
Next