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 InlineXHTMLContent struct {
XHTMLDiv string `xml:"xhtmldiv"`
}
func (i *InlineXHTMLContent) IsContent() bool { return true }
func (i *InlineXHTMLContent) isContent() bool { return true }
func (i *InlineXHTMLContent) hasSRC() bool { return false }
func (i *InlineXHTMLContent) getType() string { return i.Type }
func (i *InlineXHTMLContent) Check() error {
if i.Type != "xhtml" {