Fix wordings
This commit is contained in:
parent
f27116930a
commit
92d71fdbde
@ -34,12 +34,12 @@ func (c *Category) Check() error {
|
||||
|
||||
if c.Scheme != "" {
|
||||
if !isValidURI(c.Scheme) {
|
||||
return fmt.Errorf("scheme attribute of category %v not correctly formatted", c.Scheme)
|
||||
return fmt.Errorf("scheme attribute %v of category not correctly formatted", c.Scheme)
|
||||
}
|
||||
}
|
||||
|
||||
if !isCorrectlyEscaped(c.Label) {
|
||||
return fmt.Errorf("label attribute of category %v not correctly escaped", c.Label)
|
||||
return fmt.Errorf("label attribute %v of category not correctly escaped", c.Label)
|
||||
}
|
||||
|
||||
if c.Content == nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user