Code Formatting problem in BlogCFC Solved!

{ Posted By : Eric Cobb on November 24, 2009 }
640 Views
Related Categories: General

I finally figured out what was causing my code formatting problem in BlogCFC.

Apparently it was an issue with having whitespace management turned on in Railo. I turned it off at both the Railo server level, and the Web for my blog and now it seems to be working. Previously, I had only turned it off on the Web, not the Server itself. I guess you have to turn them both off to make it work. Now, I can even "preview" the code in BlogCFC and it retains all of its formatting.

Funny, if you view the source of a website with whitespace management on, all code is left aligned. If you turn whitespace management off and view source, it has indentions. I guess Railo has some serious whitespace management. :-)

Related Blog Entries

Comments