DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Customtag To Remove Blank Lines
// description of your code here
Coldfusion output has a lot of useless blank lines and makes the HTML code hard to read. I use this customtag to remove the blank lines.
<cfif thisTag.ExecutionMode IS "end"> <cfset thisTag.generatedContent = ReReplaceNoCase(thisTag.generatedContent, '(?m)^\s+\r\n', '', "ALL")> </cfif>





