diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-03-07 11:00:01 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-03-07 11:00:01 +0100 |
commit | b61254dda64b686e09e896e146d081519ced87d0 (patch) | |
tree | 68f078d7b9144bcf0c8346a37b60fbf98eeef15f /lib/output/website.js | |
parent | b4bdf97cfe84994a4e2e04f196e0ebb4849b188f (diff) | |
download | gitbook-b61254dda64b686e09e896e146d081519ced87d0.zip gitbook-b61254dda64b686e09e896e146d081519ced87d0.tar.gz gitbook-b61254dda64b686e09e896e146d081519ced87d0.tar.bz2 |
Add more deprecated api
Diffstat (limited to 'lib/output/website.js')
-rw-r--r-- | lib/output/website.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/website.js b/lib/output/website.js index 230af71..ae3d7af 100644 --- a/lib/output/website.js +++ b/lib/output/website.js @@ -117,7 +117,7 @@ WebsiteOutput.prototype.prepare = function() { // Transform a '.md' into a '.html' (README -> index) that.env.addFilter('contentURL', function(s) { - return location.normalize(that.outputUrl(s)); + return that.toURL(s); }); // Relase path to an asset |