Make isText private

This commit is contained in:
2024-10-16 18:31:24 +02:00
parent f8c36a7045
commit f11dee630d
3 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ type PlainText struct {
Text string `xml:"text"`
}
func (p *PlainText) IsText() bool { return true }
func (p *PlainText) isText() bool { return true }
func (p *PlainText) Check() error {
if p.Type != "" && p.Type != "text" && p.Type != "html" {