hugo/helpers
Anthony Fok c4393257e8 Adapt to relative path bug fix in purell
Temporary workaround for the bug fix and resulting
behavioral change in purell.NormalizeURLString():
a leading '/' was inadvertently to relative links,
but no longer, see #878.

I think the real solution is to allow Hugo to
make relative URL with relative path,
e.g. "../../post/hello-again/", as wished by users
in issues #157, #622, etc., without forcing
relative URLs to begin with '/'.
Once the fixes are in, let's remove this kludge
and restore SanitizeUrl() to the way it was.

Fixes #878
2015-02-17 12:31:39 -05:00
..
content.go
content_test.go
general.go
general_test.go
path.go Fix bug on windows where the backslash got removed in func MakePath() 2015-02-17 12:14:39 -05:00
path_test.go
pygments.go
url.go Adapt to relative path bug fix in purell 2015-02-17 12:31:39 -05:00
url_test.go