Replace '/' with full-width solidus

This commit is contained in:
Les De Ridder 2016-11-08 05:16:24 +01:00
parent d33552ef0f
commit 6d47d08438
No known key found for this signature in database
GPG Key ID: 5EC132DFA85DB372
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}