Add Whitespace Management

Description

We are using Lucee with default whitespace suppression behaviour and seeing much more whitespace being produced by boxlang. I understand its not implemented yet, logging here as requested by Brad as a reminder

Adobe just has an off/on setting. Lucee has 3 settings, I believe. Whatever they both do by default is probably fine for now.

Activity

Show:

Brad Wood November 6, 2024 at 10:50 PM

For now, I have just implemented on/off which is the equiv of Lucee’s “smart” whitespace management. It kicks in when

  • enabled at the global level (Default behavior)

  • The current response content-type header is text/html at the point the buffer is being flushed

  • It preserves whitespace inside of <pre>, <code>, and <textarea> tags.

Brad Wood November 6, 2024 at 10:46 PM

New boxlang.json configuration

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

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created October 29, 2024 at 8:03 PM
Updated November 6, 2024 at 10:50 PM
Resolved November 6, 2024 at 10:46 PM