mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-23 21:32:41 +08:00
Lint: Disable staticcheck for strings.Title
strings.Title is deprecated, but we need to keep using it since there is no 1:1 replacement and otherwise this might change page names on confluence.
This commit is contained in:
parent
1a4ae1afb5
commit
7204ef21f6
@ -74,6 +74,7 @@ func ExtractMeta(data []byte) (*Meta, []byte, error) {
|
||||
meta.Type = "page" //Default if not specified
|
||||
}
|
||||
|
||||
//nolint:staticcheck
|
||||
header := strings.Title(matches[1])
|
||||
|
||||
var value string
|
||||
|
Loading…
x
Reference in New Issue
Block a user