Skip to content

Commit 497af27

Browse files
kizuna-lekapecloud-bot
authored andcommitted
fix: enable xml escape chars decoder (#9817)
(cherry picked from commit 3b2f3dd)
1 parent 6189b97 commit 497af27

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/unstructured/xml_config.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ func init() {
4141
mxjv2.CastValuesToBool(true)
4242
// enable cast to int
4343
mxjv2.CastValuesToInt(true)
44+
// enable XML escape chars decoder
45+
mxjv2.XMLEscapeCharsDecoder()
4446

4547
CfgObjectRegistry().RegisterConfigCreator(parametersv1alpha1.XML, func(name string) ConfigObject {
4648
return &xmlConfig{name: name}

0 commit comments

Comments
 (0)