fixe l'upload

This commit is contained in:
Paul Schneider 2016-05-30 18:30:35 +02:00
commit 9d078e4e8e
14 changed files with 140 additions and 30 deletions

View file

@ -107,7 +107,8 @@ namespace Yavsc.Helpers
var content = await GetContent(output);
var markdown = content;
var basePath = Base?.StartsWith("~") ?? false ? Constants.UserFilesRequestPath+
var basePath = Base?.StartsWith("~") ?? false ?
"/"+Startup.UserFilesDirName +
Base.Substring(1) : Base;
var html = Markdown(markdown, basePath);
output.Content.SetHtmlContent(html ?? "");