Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #20524 [Serializer][XmlEncoder] Allow removing empty tags in …
…generated XML (amoiraud) This PR was squashed before being merged into the 3.3-dev branch (closes #20524). Discussion ---------- [Serializer][XmlEncoder] Allow removing empty tags in generated XML | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #20398 | License | MIT | Doc PR | ~ Allow a new option in $context of XmlEncoder.php to remove empty tags if $context['remove_empty_tags'] setted to true, changing this : ```xml <node> <subnode>Value</subnode> <emptysubnode/> </node> ``` To this : ```xml <node> <subnode>Value</subnode> </node> ``` Commits ------- 0cb4d8e [Serializer][XmlEncoder] Allow removing empty tags in generated XML
- Loading branch information