From 6d47d0843858bd0965317ff55c4d0e0af83654ca Mon Sep 17 00:00:00 2001 From: Les De Ridder Date: Tue, 8 Nov 2016 05:16:24 +0100 Subject: [PATCH] Replace '/' with full-width solidus --- source/filesystem.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/filesystem.d b/source/filesystem.d index 4adab59..9f9e775 100644 --- a/source/filesystem.d +++ b/source/filesystem.d @@ -52,7 +52,8 @@ class FileSystem : Operations { foreach(file; dirEntries(_source, SpanMode.breadth).filter!(a => a.isFile)) { - _tagCache[file] ~= tagProvider.getTags(file); + auto tags = tagProvider.getTags(file); + _tagCache[file] ~= tags.map!(tag => tag.replace("/", "/")).array; //replace '/' (directory separator) with full-width solidus _fileLinkCache[file.baseName] = file; }