Add check for summary element of entry
This commit is contained in:
@@ -8,7 +8,11 @@ type InlineTextContent struct {
|
||||
Texts []string `xml:"texts,omitempty"`
|
||||
}
|
||||
|
||||
func (i *InlineTextContent) IsContent() bool { return true }
|
||||
func (i *InlineTextContent) isContent() bool { return true }
|
||||
|
||||
func (i *InlineTextContent) hasSRC() bool { return false }
|
||||
|
||||
func (i *InlineTextContent) getType() string { return i.Type }
|
||||
|
||||
func (i *InlineTextContent) Check() error {
|
||||
if i.Type != "" && i.Type != "text" && i.Type != "html" {
|
||||
|
Reference in New Issue
Block a user