Remove unnecessary slicing

pull/231/head
Gustavo Bittencourt 2016-01-07 22:29:43 -02:00
parent d4aaad0177
commit 0ab4d2b6c5
1 changed files with 1 additions and 1 deletions

View File

@ -902,7 +902,7 @@ func doubleSpace(out *bytes.Buffer) {
}
func isRelativeLink(link []byte) (yes bool) {
u, err := url.Parse(string(link[:]))
u, err := url.Parse(string(link))
if err == nil {
return !u.IsAbs()
}