danarashad
Programmer
I am trying to create line breaks in some output, using the rereplace tag. Here's what I have.
<cfoutput>#REReplace(sum.activities,"\n","<br>","all")#</cfoutput>
Here's what I would like the output to read!
Running
Jumping
Fishing
Football
Track
Where it puts a line break when the user presses return. But whats happening is, it's breaking after the letter N.
Actual output.
Ru
i
g Jumpi
g Fishi
g Football Track
Help. \n is aline feed character. I've tried \r, for return.
<cfoutput>#REReplace(sum.activities,"\n","<br>","all")#</cfoutput>
Here's what I would like the output to read!
Running
Jumping
Fishing
Football
Track
Where it puts a line break when the user presses return. But whats happening is, it's breaking after the letter N.
Actual output.
Ru
i
g Jumpi
g Fishi
g Football Track
Help. \n is aline feed character. I've tried \r, for return.