首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > sample-escape

sample-escape

  • 资源大小:922.00 B
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

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
VIP VIP
0.179221s