From 4ae8cecb174fb0782df388b1f9b1665345cbebfb Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Thu, 17 Oct 2024 19:11:33 +0200 Subject: [PATCH] More ",chardata" --- generator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator.go b/generator.go index d423577..f51d9aa 100644 --- a/generator.go +++ b/generator.go @@ -10,7 +10,7 @@ type Generator struct { *CommonAttributes URI IRI `xml:"uri,attr,omitempty"` Version string `xml:"version,attr,omitempty"` - Text string `xml:"text"` + Text string `xml:",chardata"` } // NewGenerator creates a new Generator. It returns a *Generator.