More ",chardata"
This commit is contained in:
2
link.go
2
link.go
@@ -9,7 +9,7 @@ import (
|
||||
type Link struct {
|
||||
*CommonAttributes
|
||||
Title string `xml:"title,attr,omitempty"`
|
||||
Content string `xml:",any"` // undefinedContent in RFC4287
|
||||
Content string `xml:",chardata"` // undefinedContent in RFC4287
|
||||
Href IRI `xml:"href,attr"`
|
||||
Rel string `xml:"rel,attr,omitempty"`
|
||||
Type MediaType `xml:"type,attr,omitempty"`
|
||||
|
Reference in New Issue
Block a user