This commit is contained in:
Norton Wang 2013-12-09 10:12:58 -08:00
commit bf427c4104

View file

@ -215,6 +215,10 @@ class Content(object):
os.path.join(self.relative_dir, path)
)
# spaces in filename
if path not in self._context['filenames'] and '%20' in path:
path = path.replace('%20', ' ')
if path in self._context['filenames']:
origin = '/'.join((siteurl,
self._context['filenames'][path].url))