More ",chardata"
This commit is contained in:
parent
8e226b48ef
commit
4ae8cecb17
@ -10,7 +10,7 @@ type Generator struct {
|
|||||||
*CommonAttributes
|
*CommonAttributes
|
||||||
URI IRI `xml:"uri,attr,omitempty"`
|
URI IRI `xml:"uri,attr,omitempty"`
|
||||||
Version string `xml:"version,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.
|
// NewGenerator creates a new Generator. It returns a *Generator.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user