Behavior differs for "direct fragment rendering" and "fragment inclusion"?
I have a question about the behavior of direct fragment rendering in Thymeleaf Spring 2.1.0.
Are these assumptions correct?
- If a fragment is included from another template the result does not include the tag where the fragment name was defined.
- If a fragment is rendered directly from the controller the result contains also the tag of where the fragment name was defined.
If this is true it means that the output is slightly different if a fragment is rendered in one or the other way.
Is there a possibility to control this?
Current behavior in 2.1.0