Rendered output has ALWAYS a precedent empty line, delete it!

Description

Looking at the source code of your Browser you will find that output of 4.2 will always have a precedent empty line, while 4.1 had not.

Attachments

3
  • 10 Aug 2016, 05:44 PM
  • 05 Aug 2016, 03:09 PM
  • 05 Aug 2016, 05:39 AM

Gliffy Diagrams

Activity

Show:

Brad Wood August 10, 2016 at 7:43 PM

The whitespace issue is resolved with this pull:
https://github.com/ColdBox/coldbox-platform/pull/281

Brad Wood August 10, 2016 at 7:35 PM

I have located the issue. It's in the InterceptorService because output is set to true in the processState method. I have converted this method to script (and output is still set to true!) and the extra whitespace is now gone. Pull request coming soon.

Brad Wood August 10, 2016 at 5:49 PM

Looks like the issue got way better in ColdBox 4. Backporting my sample app to Coldbox 3.8.1 had 130 extra lines of whitespace! The script conversion probably got rid of a bunch of the tag functions that were leaking whitespace. We just need to track down the function still left in ColdBox 4 that doesn't have output=false.

Luis Majano August 10, 2016 at 5:47 PM

Sometimes the issue is that white space in cf sucks. Ito solve everything I would have to code everything in one line.

Brad Wood August 10, 2016 at 5:44 PM

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Original estimate

Time tracking

No time logged1h remaining

Components

Fix versions

Affects versions

Priority

Sentry

Created August 3, 2016 at 11:00 AM
Updated September 13, 2016 at 5:40 PM
Resolved August 15, 2016 at 7:40 PM