mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Apply gofmt -s
This commit is contained in:
parent
bef34597f4
commit
befb54da46
2 changed files with 3 additions and 4 deletions
|
@ -1225,4 +1225,3 @@ func TestSafeURL(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,9 +49,9 @@ type prefix struct {
|
||||||
// - the matches array above must be expanded.
|
// - the matches array above must be expanded.
|
||||||
// - the prefix must with the current logic end with '='
|
// - the prefix must with the current logic end with '='
|
||||||
var prefixes = []*prefix{
|
var prefixes = []*prefix{
|
||||||
&prefix{r: []rune{'s', 'r', 'c', '='}, f: checkCandidateBase},
|
{r: []rune{'s', 'r', 'c', '='}, f: checkCandidateBase},
|
||||||
&prefix{r: []rune{'h', 'r', 'e', 'f', '='}, f: checkCandidateBase},
|
{r: []rune{'h', 'r', 'e', 'f', '='}, f: checkCandidateBase},
|
||||||
&prefix{r: []rune{'s', 'r', 'c', 's', 'e', 't', '='}, f: checkCandidateSrcset},
|
{r: []rune{'s', 'r', 'c', 's', 'e', 't', '='}, f: checkCandidateSrcset},
|
||||||
}
|
}
|
||||||
|
|
||||||
type absURLMatcher struct {
|
type absURLMatcher struct {
|
||||||
|
|
Loading…
Reference in a new issue