Back
simpleFormat()
Returns formatted text using HTML break tags (
) and HTML paragraph elements () based on the newline characters and carriage returns in the
text
that is passed in.
<!--- How most of your calls will look. ---> #simpleFormat(post.bodyText)# <!--- Demonstrates what output looks like with specific data. ---> <cfsavecontent variable="comment"> I love this post! Here's why: * Short * Succinct * Awesome </cfsavecontent> #simpleFormat(comment)# <!--- <p>I love this post!</p> <p>Here's why:<br> * Short<br> * Succinct<br> * Awesome</p> --->
Copied!