[ 
https://issues.apache.org/jira/browse/WW-5256?focusedWorklogId=992771&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-992771
 ]

ASF GitHub Bot logged work on WW-5256:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Nov/25 09:14
            Start Date: 21/Nov/25 09:14
    Worklog Time Spent: 10m 
      Work Description: lukaszlenart opened a new pull request, #1418:
URL: https://github.com/apache/struts/pull/1418

   ## Summary
   
   - Add `struts.freemarker.whitespaceStripping` configuration option to 
control FreeMarker whitespace stripping (auto-disabled in devMode)
   - Add `struts.compress.enabled` configuration option for global compress tag 
control
   - Add `<s:compress>` tag to compress HTML output with `force` attribute to 
override settings
   - All new features tagged with `@since 7.2.0`
   
   ## Test plan
   
   - [x] Tests for whitespace stripping configuration
   - [x] Tests for compression enabled/disabled globally
   - [x] Tests for force attribute overriding global settings
   - [x] All existing tests pass
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)




Issue Time Tracking
-------------------

    Worklog Id:     (was: 992771)
    Time Spent: 1h 50m  (was: 1h 40m)

> Reduce size of generate html out of freemarker tag templates
> ------------------------------------------------------------
>
>                 Key: WW-5256
>                 URL: https://issues.apache.org/jira/browse/WW-5256
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Tags
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Major
>             Fix For: 7.2.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Currently tags are producing a lot of white-space characters and line breaks 
> due to how Freemarker handles all the white-space characters. This can be 
> improved by using a few helpful directtives:
> [https://freemarker.apache.org/docs/dgui_misc_whitespace.html]
> One of them is the 
> [<#compress>|https://freemarker.apache.org/docs/dgui_misc_whitespace.html#autoid_30]
>  directive.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to