[ 
https://issues.apache.org/jira/browse/WW-5257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17629682#comment-17629682
 ] 

Patrice DUROUX commented on WW-5257:
------------------------------------

Sure, the problem was more with some reproducible tests on my side moving from 
Struts 2.5.30 to 6.0.3.

Just also to be sure about your remark «Not sure where is the problem as the 
new line shouldn't be a problem for browsers or any other Html parsing tools>»:

am I wrong to say that in HTML newline is like a whitespace (cf. 
[https://www.w3.org/TR/REC-html40/struct/text.html#h-9.1,] 
https://infra.spec.whatwg.org/#ascii-whitespace)?

> <s:checkbox> output is followed by a newline in simple theme (diff to Struts 
> 2)
> -------------------------------------------------------------------------------
>
>                 Key: WW-5257
>                 URL: https://issues.apache.org/jira/browse/WW-5257
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 6.0.3
>            Reporter: Patrice DUROUX
>            Assignee: Lukasz Lenart
>            Priority: Minor
>             Fix For: 6.1.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Hi,
> I notice a small difference comparing HTML outputs between the Struts 2.x and 
> Struts 6.x for code like this
> {noformat}
> <s:checkbox ....></dd>
> {noformat}
> for instance and where the output is now like:
> {noformat}
> <checkbox ...>
> </dd> 
> {noformat}
> and no more like:
> {noformat}
> <checkbox ...></dd>{noformat}
> Is this expected?
>  
> Regards,
> Patrice



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

Reply via email to