Add check for summary element of entry
This commit is contained in:
@@ -8,7 +8,11 @@ type OutOfLineContent struct {
|
||||
SRC URI `xml:"src,attr"`
|
||||
}
|
||||
|
||||
func (o *OutOfLineContent) IsContent() bool { return true }
|
||||
func (o *OutOfLineContent) isContent() bool { return true }
|
||||
|
||||
func (o *OutOfLineContent) hasSRC() bool { return true }
|
||||
|
||||
func (o *OutOfLineContent) getType() string { return string(o.Type) }
|
||||
|
||||
func (o *OutOfLineContent) Check() error {
|
||||
if o.SRC == "" {
|
||||
|
Reference in New Issue
Block a user