mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
075b17ee1d
commit
c154c2f7b2
2 changed files with 3 additions and 2 deletions
|
@ -49,6 +49,7 @@ func newPrefixState() []*prefix {
|
|||
return []*prefix{
|
||||
{b: []byte("src="), f: checkCandidateBase},
|
||||
{b: []byte("href="), f: checkCandidateBase},
|
||||
{b: []byte("action="), f: checkCandidateBase},
|
||||
{b: []byte("srcset="), f: checkCandidateSrcset},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -89,8 +89,8 @@ schemaless: <img srcset='//img.jpg' src='//basic.jpg'>
|
|||
schemaless2: <img srcset="//img.jpg" src="//basic.jpg2> POST
|
||||
`
|
||||
|
||||
relPathVariations = `PRE. a href="/img/small.jpg" POST.`
|
||||
relPathVariationsCorrect = `PRE. a href="../../img/small.jpg" POST.`
|
||||
relPathVariations = `PRE. a href="/img/small.jpg" input action="/foo.html" POST.`
|
||||
relPathVariationsCorrect = `PRE. a href="../../img/small.jpg" input action="../../foo.html" POST.`
|
||||
|
||||
testBaseURL = "http://base/"
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue