Make isText private
This commit is contained in:
@@ -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" {
|
||||
|
Reference in New Issue
Block a user