Make uri in id and text in plain text xml type ",chardata"
This commit is contained in:
@@ -5,7 +5,7 @@ import "errors"
|
||||
type PlainText struct {
|
||||
*CommonAttributes
|
||||
Type string `xml:"type,attr,omitempty"` // Must be text or html
|
||||
Text string `xml:"text"`
|
||||
Text string `xml:",chardata"`
|
||||
}
|
||||
|
||||
// isText checks whether the PlainText is a Text. It returns a bool.
|
||||
|
Reference in New Issue
Block a user