fixe l'upload
This commit is contained in:
parent
56ddfa03de
commit
9d078e4e8e
14 changed files with 140 additions and 30 deletions
|
|
@ -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 ?? "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue