Replace '/' with full-width solidus
This commit is contained in:
parent
d33552ef0f
commit
6d47d08438
|
@ -52,7 +52,8 @@ class FileSystem : Operations
|
||||||
{
|
{
|
||||||
foreach(file; dirEntries(_source, SpanMode.breadth).filter!(a => a.isFile))
|
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;
|
_fileLinkCache[file.baseName] = file;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue