Add check for summary element of entry

This commit is contained in:
2024-10-15 19:32:14 +02:00
parent 9920e077eb
commit b08b62e794
6 changed files with 50 additions and 7 deletions

View File

@@ -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 == "" {