I am generating a website dynamically with a couple of ColdFusion functions, they use writeOutput() - the problems is that I get the code generated on one line only. So I get an error on that long line and I am not sure how to debug it. Is there a way to do a newline at certain points so that the source code generated is more readable ?
Asked
Active
Viewed 227 times
1 Answers
1
You're dynamically writing Coldfusion code? That seems like a nightmare, and unless it's some cutting edge app, probably wholly unnecessary.
But, yes you could append newline chars. See this question: How can I write a newline in a string in ColdFusion?

Community
- 1
- 1

Owen Allen
- 11,348
- 9
- 51
- 63
-
Thanks, that does work ! Well the website is a template for other ones, so I need to be able to change the content easily, pretty cutting edge I think. The CF code is static though. – Danail Gabenski Nov 01 '11 at 15:59