diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-25 19:15:47 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-25 19:15:47 +0100 |
commit | 80718cc783fae9677dde8bb95cce7db3362db978 (patch) | |
tree | 703992775883eda094dff4cb867afd71f436b6fa /lib/page/index.js | |
parent | 73f22332ec095ec95518d7708cbeeb3db4a88655 (diff) | |
download | gitbook-80718cc783fae9677dde8bb95cce7db3362db978.zip gitbook-80718cc783fae9677dde8bb95cce7db3362db978.tar.gz gitbook-80718cc783fae9677dde8bb95cce7db3362db978.tar.bz2 |
Fix some path normalization on windows
Diffstat (limited to 'lib/page/index.js')
-rw-r--r-- | lib/page/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/page/index.js b/lib/page/index.js index 2dcf704..f3a8f39 100644 --- a/lib/page/index.js +++ b/lib/page/index.js @@ -30,7 +30,7 @@ function Page(book, filename) { this.description = ''; // Relative path to the page - this.path = filename; + this.path = location.normalize(filename); // Absolute path to the page this.rawPath = this.book.resolve(filename); |