Commit 8b7d00c8 authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

FileHandler2: use cleanPath in fullPath(s) functions

parent b7acb0f7
......@@ -126,7 +126,7 @@ define([
M.clsBib.single = M.clsBib.base._extend({
fullPath: function (info) {
return (info.pathBase + "/" + info.data.name).replace(/\/+/g, "/");
return Utils.cleanPath(info.pathBase + "/" + info.data.name);
},
ext: function (info) {
if (!info.data) return;
......@@ -197,7 +197,7 @@ define([
return (_items || this.items(info)).map(function (it) {
if (processing)
it.processing = true;
return info.pathBase + "/" + it.name;
return Utils.cleanPath(info.pathBase + "/" + it.name);
});
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment