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 Use buffer pool in StripHTML 2015-02-06 15:35:45 +01:00
content_test.go Add benchmark test for StripHTML 2015-02-06 10:00:42 +01:00
general.go Add data files support in themes 2015-02-11 20:24:56 +01:00
general_test.go Add writable context to Node 2015-01-31 22:01:30 +01:00
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 Merge to stay up to date with current dev 2015-02-17 12:14:39 -05:00
pygments.go Wrap comments helpers package to fit 80-column width 2014-12-26 08:07:03 -07:00
url.go Adapt to relative path bug fix in purell 2015-02-17 12:31:39 -05:00
url_test.go ignore root path, no need strip traling slash 2015-01-28 09:43:43 +01:00