资 源 简 介
I created this because we had a page with samples of ColdFusion Modules that our programmers could use from a central library to help create uniformity and ease of updating for all projects.
I wanted to add a section below each sample displaying the code that was used in a form people could copy/paste. But since the source code has characters that the browser/server would try and process, I looked around for something that would let me copy/paste the code in and convert it to HTML ready format using Ajax. It also had to include doubling # signs in case the sample was going to be displayed inside of CFOUTPUT tag.
I include options to convert any pound signs to double pound signs, and an option to remove all leading and trailing tabs and spaces.
Please let me know if there is more I can add to it