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.