More ",chardata"

This commit is contained in:
Jason Streifling 2024-10-17 19:11:33 +02:00
parent 8e226b48ef
commit 4ae8cecb17

View File

@ -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.