Decided not to escape. :)
This commit is contained in:
parent
8f8baacbf9
commit
e73f3ee8fd
@ -1,7 +1,6 @@
|
||||
package files
|
||||
|
||||
import (
|
||||
"net/url"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@ -13,7 +12,7 @@ func CurrentPath(path string) (curPath string) {
|
||||
sb.WriteString("/<a href=\"/")
|
||||
sb.WriteString(strings.Join(parts[:i+1], "/"))
|
||||
sb.WriteString("/\">")
|
||||
sb.WriteString(url.PathEscape(part))
|
||||
sb.WriteString(part)
|
||||
sb.WriteString("</a>")
|
||||
curPath += sb.String()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user