From 4073f34461e8b20c73c1641e74883e8f61c3cde6 Mon Sep 17 00:00:00 2001 From: Bohdan Horbeshko Date: Mon, 18 Aug 2025 00:00:38 -0400 Subject: [PATCH] Fix serialization of RSM first element --- stanza/results_sets.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stanza/results_sets.go b/stanza/results_sets.go index 6cbab0f..01c8c69 100644 --- a/stanza/results_sets.go +++ b/stanza/results_sets.go @@ -24,6 +24,6 @@ type ResultSet struct { type First struct { XMLName xml.Name `xml:"first"` - Content string - Index *int `xml:"index,attr,omitempty"` + Content string `xml:",cdata"` + Index *int `xml:"index,attr,omitempty"` }