Fix default LinkHandler

This commit is contained in:
DataHoarder 2022-02-20 22:28:02 +01:00
parent 5c99a0ad20
commit e21f1e249c

View file

@ -41,7 +41,6 @@ func (o *WikiStringValueOptions) Default() {
} else { } else {
result = append(result, value.URL) result = append(result, value.URL)
} }
result = append(result, GetWikiStringValue(value.Name, opt)...)
return return
} }
o.TemplateLinkHandler = func(value *Template, opt *WikiStringValueOptions) (result []string) { o.TemplateLinkHandler = func(value *Template, opt *WikiStringValueOptions) (result []string) {